mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 20:02:11 +02:00
Feature/tool group (#484)
* Tech spec for tool group * Partial tool group implementation * Tool group tests
This commit is contained in:
parent
672e358b2f
commit
e74eb5d1ff
9 changed files with 1304 additions and 6 deletions
|
|
@ -82,8 +82,8 @@ def sample_message_data():
|
|||
},
|
||||
"AgentRequest": {
|
||||
"question": "What is machine learning?",
|
||||
"plan": "",
|
||||
"state": "",
|
||||
"group": [],
|
||||
"history": []
|
||||
},
|
||||
"AgentResponse": {
|
||||
|
|
|
|||
|
|
@ -198,8 +198,8 @@ class TestAgentMessageContracts:
|
|||
# Test required fields
|
||||
request = AgentRequest(**request_data)
|
||||
assert hasattr(request, 'question')
|
||||
assert hasattr(request, 'plan')
|
||||
assert hasattr(request, 'state')
|
||||
assert hasattr(request, 'group')
|
||||
assert hasattr(request, 'history')
|
||||
|
||||
def test_agent_response_schema_contract(self, sample_message_data):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue