Skip to content

Commit 9a416b6

Browse files
Update llm.model.ts
1 parent 6831f7f commit 9a416b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/llm/llm.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export interface GenerateTextOptions extends CallSettings {
9090
/**
9191
* Options when generating text expecting JSON
9292
*/
93-
export type GenerateJsonOptions = Omit<GenerateTextOptions, 'type'>;
93+
export type GenerateJsonOptions = Omit<GenerateTextOptions, 'type'> & { jsonSchema?: any };
9494

9595
/*
9696
Types from the 'ai' package:

0 commit comments

Comments
 (0)