feat: allow users to configure openai host (#1283)
This commit is contained in:
@@ -65,7 +65,7 @@ export function getDefaultModel(key: string): string | undefined {
|
||||
export const short_list = ['gpt-4o', 'claude-3-5-sonnet-latest'];
|
||||
|
||||
export const required_keys = {
|
||||
OpenAI: ['OPENAI_API_KEY'],
|
||||
OpenAI: ['OPENAI_API_KEY', 'OPENAI_HOST'],
|
||||
Anthropic: ['ANTHROPIC_API_KEY'],
|
||||
Databricks: ['DATABRICKS_HOST'],
|
||||
Groq: ['GROQ_API_KEY'],
|
||||
|
||||
@@ -38,7 +38,7 @@ function getArticle(word: string): string {
|
||||
|
||||
export function getProviderDescription(provider) {
|
||||
const descriptions = {
|
||||
OpenAI: 'Access GPT-4, GPT-3.5 Turbo, and other OpenAI models',
|
||||
OpenAI: 'Access GPT-4 and other OpenAI models, including OpenAI compatible ones',
|
||||
Anthropic: 'Access Claude and other Anthropic models',
|
||||
Google: 'Access Gemini and other Google AI models',
|
||||
Groq: 'Access Mixtral and other Groq-hosted models',
|
||||
|
||||
Reference in New Issue
Block a user