Skip to content

Commit

Permalink
feat(gateway): Add Gemini support
Browse files Browse the repository at this point in the history
Add Gemini support to DarwinOpenAIGateway.  This commit also includes a minor adjustment to the Koin module for dependency injection, adding the `DefaultOpenAIProvider`.
  • Loading branch information
hanrw committed Jan 3, 2025
1 parent 2e400fb commit ce64e19
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fun openAIGatewayModules(providers: List<OpenAIProvider>) = module {
fun openAIGatewayModules() = module {
single {
listOf(
DefaultOpenAIProvider(config = get<DefaultOpenAIProviderConfig>()),
AnthropicOpenAIProvider(config = get()),
OllamaOpenAIProvider(config = get()),
GeminiOpenAIProvider(
Expand Down

0 comments on commit ce64e19

Please sign in to comment.