Skip to content

Commit

Permalink
Update openai-like.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aigem authored Jan 15, 2025
1 parent 991ed79 commit 2bf4c28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/lib/modules/llm/providers/openai-like.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export default class OpenAILikeProvider extends BaseProvider {
apiTokenKey: 'OPENAI_LIKE_API_KEY',
};

staticModels: ModelInfo[] = [];
staticModels: ModelInfo[] = [
{ name: 'qwen2.5-coder-32b-instruct', label: 'qwen2.5-coder-32b-instruct', provider: 'OpenAILike', maxTokenAllowed: 8000 },
{ name: 'qwen-plus-latest', label: 'qwen2.5-plus', provider: 'OpenAILike', maxTokenAllowed: 8000 },
];

async getDynamicModels(
apiKeys?: Record<string, string>,
Expand Down

0 comments on commit 2bf4c28

Please sign in to comment.