Skip to content

Commit

Permalink
docs: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Jan 8, 2025
1 parent 33653f1 commit 59e2d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/generate-text/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
export interface GenerateTextOptions extends ChatOptions {
/** @default 1 */
maxSteps?: number
/** if you want to enable stream, use `@xsai/stream-text` */
/** if you want to enable stream, use `@xsai/stream-{text,object}` */
stream?: never
}

Expand Down
2 changes: 1 addition & 1 deletion packages/stream-text/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from '@xsai/shared-chat'

export interface StreamTextOptions extends ChatOptions {
/** if you want to disable stream, use `@xsai/generate-text` */
/** if you want to disable stream, use `@xsai/generate-{text,object}` */
stream?: never
streamOptions?: {
/**
Expand Down

0 comments on commit 59e2d5a

Please sign in to comment.