TestModelConfig
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseModelConfig llmling_models_config.configs Base for model configurations. |
⋔ Inheritance diagram¶
graph TD
955413100["configs.TestModelConfig"]
3497727833["configs.BaseModelConfig"]
330168112["schema.Schema"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3497727833 --> 955413100
330168112 --> 3497727833
3879467795 --> 330168112
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseModelConfig
Configuration for test models.
Source code in src/llmling_models_config/configs.py
call_tools
class-attribute
instance-attribute
¶
call_tools: list[str] | Literal["all"] = Field(
default="all", examples=["all", ["tool1", "tool2"]], title="Available tools"
)
Tools that can be called by the test model.
custom_output_text
class-attribute
instance-attribute
¶
custom_output_text: str | None = Field(
default=None, examples=["Test response", "Mock output for testing"], title="Custom output text"
)
Optional custom text to return from the test model.
seed
class-attribute
instance-attribute
¶
Seed for generating random tool arguments (when tool_args not specified).
tool_args
class-attribute
instance-attribute
¶
tool_args: dict[str, dict[str, Any]] | None = Field(
default=None, examples=[{"read": {"path": "/test/file.txt"}}], title="Fixed tool arguments"
)
Optional mapping of tool_name -> args to use instead of generated args.
type
class-attribute
instance-attribute
¶
Type identifier for test model.