mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-20 15:37:27 +08:00
fix(agent): preserve configured prompts in debug runs
[verified] Independently reviewed debug-only Query initialization, explicit-empty prompt semantics, scoped Runner schema/config, trusted execution metadata and MCP projection. Focused RED/GREEN and 249 regression tests pass. No shared orchestration or nondebug behavior changes.
This commit is contained in:
@@ -96,7 +96,7 @@ def _make_app():
|
||||
_get_default_values_from_schema=Mock(return_value={}),
|
||||
)
|
||||
app.runner_registry = SimpleNamespace(
|
||||
get=AsyncMock(return_value=SimpleNamespace(usages=['agent'])),
|
||||
get=AsyncMock(return_value=SimpleNamespace(usages=['agent'], config_schema=[])),
|
||||
list_runners=AsyncMock(return_value=[]),
|
||||
)
|
||||
app.tool_mgr = None
|
||||
|
||||
Reference in New Issue
Block a user