mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-18 18:11:00 -06:00
c9311e32e4
Captures the exact request kwargs each provider hands to its SDK seam (Anthropic messages.stream, OpenAI chat/responses create, Google OpenAI-compat) for a representative set of trajectories, asserted against committed goldens. This is the behavior-equivalence net the canonical-trajectory wire-shape refactor is proven against. Regenerate the baseline with UPDATE_WIRE_GOLDENS=1.
59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"max_tokens": 4096,
|
|
"messages": [
|
|
{
|
|
"content": "Weather in Paris?",
|
|
"role": "user"
|
|
},
|
|
{
|
|
"content": "",
|
|
"role": "assistant",
|
|
"tool_calls": [
|
|
{
|
|
"function": {
|
|
"arguments": "{\"city\": \"Paris\"}",
|
|
"name": "get_weather"
|
|
},
|
|
"id": "call_1",
|
|
"type": "function"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"content": "18C, clear.",
|
|
"role": "tool",
|
|
"tool_call_id": "call_1"
|
|
},
|
|
{
|
|
"content": "It's 18C and clear in Paris.",
|
|
"role": "assistant"
|
|
}
|
|
],
|
|
"model": "gemini-2.5-pro",
|
|
"stream": true,
|
|
"stream_options": {
|
|
"include_usage": true
|
|
},
|
|
"temperature": 0.5,
|
|
"tools": [
|
|
{
|
|
"function": {
|
|
"description": "Look up the weather for a city.",
|
|
"name": "get_weather",
|
|
"parameters": {
|
|
"properties": {
|
|
"city": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"city"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "function"
|
|
}
|
|
]
|
|
}
|