Skip to content

How do I configure the custom model? #4

@308299160

Description

@308299160

I want to use the Tencent HunYuan model via the API. I configured the API key and the base url and it looked like this:

Image

But the model provider is hardcoded, so I can't call the HunYuan model.
provider_keywords = { "openai": ["gpt", "openai"], "anthropic": ["claude", "anthropic"], "google": ["gemini", "google"], "azure": ["azure"], "ollama": ["ollama", "localhost"], "deepseek": ["deepseek"], "dashscope": ["qwen", "tongyi", "dashscope", "qwq"], "moonshot": ["kimi", "moonshot"], "groq": ["groq", "llama", "mixtral"], }
Do you have any plans to address the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions