Skip to content

Commit

Permalink
fix (docs): typo in core/types/language-model.ts (#2064)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflair committed Jun 24, 2024
1 parent 534f170 commit 9aefeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/core/types/language-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Tool choice for the generation. It supports the following settings:
- `auto` (default): the model can choose whether and which tools to call.
- `required`: the model must call a tool. It can choose which tool to call.
- `none`: the model must not call tools
- `{ type: 'tool', tooName: string (typed) }`: the model must call the specified tool
- `{ type: 'tool', toolName: string (typed) }`: the model must call the specified tool
*/
// TODO rename to ToolChoice once shared/types.ts ToolChoice is gone
export type CoreToolChoice<TOOLS extends Record<string, unknown>> =
Expand Down

0 comments on commit 9aefeaa

Please sign in to comment.