File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ fluent-ai includes support for multiple AI providers and modalities.
2222| --------- | ------------------ | ------------------ | ------------------ | ------------------ |
2323| anthropic | :white_check_mark : | | | :white_check_mark : |
2424| fal | | | :white_check_mark : | |
25+ | google | :white_check_mark : | | | |
2526| ollama | :white_check_mark : | :white_check_mark : | | :white_check_mark : |
2627| openai | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
2728| voyageai | | :white_check_mark : | | |
Original file line number Diff line number Diff line change @@ -216,6 +216,12 @@ const falJobSchema = z
216216 } )
217217 . and ( z . discriminatedUnion ( "type" , [ imageJobSchema ] ) ) ;
218218
219+ const googleJobSchema = z
220+ . object ( {
221+ provider : z . literal ( "google" ) ,
222+ } )
223+ . and ( z . discriminatedUnion ( "type" , [ chatJobSchema ] ) ) ;
224+
219225const ollamaJobSchema = z
220226 . object ( {
221227 provider : z . literal ( "ollama" ) ,
@@ -251,6 +257,7 @@ const voyageaiJobSchema = z
251257export const jobSchema = z . union ( [
252258 anthropicJobSchema ,
253259 falJobSchema ,
260+ googleJobSchema ,
254261 ollamaJobSchema ,
255262 openaiJobSchema ,
256263 voyageaiJobSchema ,
You can’t perform that action at this time.
0 commit comments