Files
Folo/packages/internal/utils/src/noop.ts
T
Innei 79bf7a86e5 feat(ai): update ai-tools and optimize chat message components animation
- Bumped version of `@folo-services/ai-tools` from 0.2.31 to 0.2.33 in package.json and pnpm-lock.yaml.
- Refactored `AIDisplayFlowPart` to improve error handling and compatibility with older data structures.
- Enhanced `AIChatMessage` and `AIMessageParts` components to support new props for better message rendering.
- Updated animation styles for chat messages to improve user experience during interactions.

This update improves the overall functionality and visual appeal of the AI chat interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-02 00:09:42 +08:00

7 lines
191 B
TypeScript

export const noop = () => {}
// eslint-disable-next-line unicorn/no-thenable
export const thenable: any = { then: noop }
export const emptyObject = {}
export const alwaysFalse = () => false