Skip to content

Commit

Permalink
added mistral ai to llm available providers
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Apr 2, 2024
1 parent 7340c7c commit f749399
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ class LMProvidersEnum(str, Enum):
azure_base = "AZURE_API_BASE"
azure_key = "AZURE_API_KEY"
togetherai = "TOGETHERAI_API_KEY"
mistralai = "MISTRALAI_API_KEY"


class NewEvaluation(BaseModel):
Expand Down
1 change: 1 addition & 0 deletions agenta-web/src/lib/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export interface LlmProvidersKeys {
AZURE_API_KEY: string
AZURE_API_BASE: string
TOGETHERAI_API_KEY: string
MISTRALAI_API_KEY: string
}

export interface AppTemplate {
Expand Down
1 change: 1 addition & 0 deletions agenta-web/src/lib/helpers/llmProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const llmAvailableProviders: LlmProvider[] = [
{title: "Anthropic", key: "", name: "ANTHROPIC_API_KEY"},
{title: "Azure", key: "", name: "AZURE_API_KEY"},
{title: "TogetherAI", key: "", name: "TOGETHERAI_API_KEY"},
{title: "Mistral AI", key: "", name: "MISTRALAI_API_KEY"},
]

export const getApikeys = () => {
Expand Down

0 comments on commit f749399

Please sign in to comment.