-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Replace GoogleAI provider with Google's OpenAI compatible endpo…
…int (#63)
- Loading branch information
1 parent
e9df85d
commit 1e7a4f0
Showing
10 changed files
with
12 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
public enum Providers | ||
{ | ||
Anthropic, | ||
GoogleAi, | ||
Llamafile, | ||
OpenAi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"OpenAiConfiguration": { | ||
"BaseAddress": "https://generativelanguage.googleapis.com/v1beta/openai/", | ||
"DefaultModel": "gemini-1.5-flash", | ||
"ApiKey": "YOUR_GEMINI_API_KEY" | ||
|
||
}, | ||
"CellmConfiguration": { | ||
"DefaultProvider": "OpenAi", | ||
"HttpTimeoutInSeconds": 30 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.