107 lines
2.1 KiB
JSON
107 lines
2.1 KiB
JSON
{
|
|
"description": "Test reasoning configuration hierarchy (Session > Workspace)",
|
|
"steps": [
|
|
{
|
|
"step_type": "set_workspace_config",
|
|
"config": {
|
|
"reasoning": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"step_type": "create_session",
|
|
"session_id": "session_disabled",
|
|
"config": {
|
|
"reasoning": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"step_type": "add_messages",
|
|
"session_id": "session_disabled",
|
|
"messages": [
|
|
{
|
|
"peer_id": "alice",
|
|
"content": "I love testing."
|
|
},
|
|
{
|
|
"peer_id": "alice",
|
|
"content": "Configuration is key."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"step_type": "wait",
|
|
"target": "queue_empty",
|
|
"flush": true
|
|
},
|
|
{
|
|
"step_type": "query",
|
|
"target": "get_representation",
|
|
"observer_peer_id": "alice",
|
|
"session_id": "session_disabled",
|
|
"assertions": [
|
|
{
|
|
"assertion_type": "not_contains",
|
|
"text": "## Explicit"
|
|
},
|
|
{
|
|
"assertion_type": "not_contains",
|
|
"text": "## Deductive"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"step_type": "set_workspace_config",
|
|
"config": {
|
|
"reasoning": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"step_type": "create_session",
|
|
"session_id": "session_enabled",
|
|
"config": {
|
|
"reasoning": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"step_type": "add_messages",
|
|
"session_id": "session_enabled",
|
|
"messages": [
|
|
{
|
|
"peer_id": "bob",
|
|
"content": "I love testing too."
|
|
},
|
|
{
|
|
"peer_id": "bob",
|
|
"content": "Override works."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"step_type": "wait",
|
|
"target": "queue_empty",
|
|
"flush": true
|
|
},
|
|
{
|
|
"step_type": "query",
|
|
"target": "get_representation",
|
|
"observer_peer_id": "bob",
|
|
"session_id": "session_enabled",
|
|
"assertions": [
|
|
{
|
|
"assertion_type": "contains",
|
|
"text": "testing",
|
|
"case_sensitive": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|