Merge branch 'main' into new_bolt1

This commit is contained in:
Ali
2024-11-09 09:59:21 +05:00
committed by GitHub
12 changed files with 410 additions and 69 deletions

View File

@@ -91,7 +91,6 @@ export function getXAIModel(apiKey: string, model: string) {
return openai(model);
}
export function getModel(provider: string, model: string, env: Env, apiKeys?: Record<string, string>) {
const apiKey = getAPIKey(env, provider, apiKeys);
const baseURL = getBaseURL(env, provider);