fix: external model name now recorded properly in responses

test: http cassettes added for improved integration tests
refactor: generic name for the CLI agent
This commit is contained in:
Fahad
2025-10-03 11:29:06 +04:00
parent e9b69476cd
commit d55130a430
10 changed files with 477 additions and 105 deletions

View File

@@ -107,8 +107,8 @@ class TestChatTool:
prompt = await self.tool.prepare_prompt(request)
assert "Test prompt" in prompt
assert "System prompt" in prompt
assert "USER REQUEST" in prompt
assert prompt.startswith("=== USER REQUEST ===")
assert "System prompt" not in prompt
def test_response_formatting(self):
"""Test that response formatting works correctly"""