Skip to content

Commit

Permalink
fix: apiClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti committed Jul 6, 2024
1 parent 9f7d137 commit f3e3f08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ export function getClientApi(provider: ServiceProvider): ClientApi {
return new ClientApi(ModelProvider.GeminiPro);
case ServiceProvider.Anthropic:
return new ClientApi(ModelProvider.Claude);
case ServiceProvider.Baidu:
return new ClientApi(ModelProvider.Ernie);
default:
return new ClientApi(ModelProvider.GPT);
}
Expand Down

0 comments on commit f3e3f08

Please sign in to comment.