My Project
Loading...
Searching...
No Matches
lg_agent.utilities.TestModel Namespace Reference

Classes

class  FakeChatModel

Detailed Description

Copyright 2026 Luca Silver

Utilities for testing: a FakeChatModel that extends GenericFakeChatModel.
This fake model can be scripted to emit messages and tool_calls, and it
provides a `bind_tools` helper to attach tools and runtime state for tests.
Important: the fake model emits tool_calls but does not automatically execute
tools that require a `ToolRuntime` — execution is left to the orchestrator.