Qwen
QwenCoder
QwenCoder(model_name: str, skill_sources: str | None = None, system_template: str = SYSTEM_TEMPLATE, execution_output_template: str = EXECUTION_OUTPUT_TEMPLATE, execution_error_template: str = EXECUTION_ERROR_TEMPLATE, api_key: str | None = None, **kwargs)
Bases: LiteLLM
Code action model class for Qwen 2.5 Coder.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model_name
|
str
|
The LiteLLM-specific name of the model. |
required |
skill_sources
|
str | None
|
Skill modules source code to be included into |
None
|
system_template
|
str
|
Prompt template for the system message that guides the model to generate code actions.
Must define a |
SYSTEM_TEMPLATE
|
execution_output_template
|
str
|
A template for formatting successful code execution output.
Must define an |
EXECUTION_OUTPUT_TEMPLATE
|
execution_error_template
|
str
|
A template for formatting code execution errors.
Must define an |
EXECUTION_ERROR_TEMPLATE
|
api_key
|
str | None
|
Provider-specific API key. If not provided, reads from |
None
|
**kwargs
|
{}
|