mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
feat(runner): support auth_type for model configuration
- Add ModelSpec dataclass to hold model name and optional auth_type
- Update RunConfig.models to use List[ModelSpec]
- Add auth_type field to RunRecord with serialization support
- Parse models from config as string or {name, auth_type} dict
- Pass --auth-type flag to qwen command when specified
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
c6a723efef
commit
b2b30c4c5d
2 changed files with 40 additions and 8 deletions
|
|
@ -31,5 +31,9 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"models": ["claude-3-5-sonnet-20241022", "qwen3-coder-plus"]
|
||||
"models": [
|
||||
"qwen3-coder-plus",
|
||||
{ "name": "glm-4.7", "auth_type": "anthropic" },
|
||||
{ "name": "claude-4-5-sonnet-20260219", "auth_type": "anthropic" }
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue