Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
turns:
- filename: t1
request:
body:
input: 'Do two things in parallel now: (1) call web_search for "rust async news",
and (2) call agentic_ns__mcp__shell__run to run pwd. Emit both tool calls
together.'
max_output_tokens: 1024
model: gpt-4o
store: true
stream: true
tools:
- description: Search the web for current information.
name: web_search
parameters:
properties:
query:
description: the search query
type: string
required:
- query
type: object
type: function
- description: Run a shell command via the mcp__shell namespace tool.
name: agentic_ns__mcp__shell__run
parameters:
properties:
command:
type: string
required:
- command
type: object
type: function
headers:
accept: '*/*'
authorization: Bearer ***
content-type: application/json
user-agent: python-httpx/0.28.1
method: POST
path: /v1/responses
query_params: {}
response:
headers:
content-type: text/event-stream; charset=utf-8
sse:
- 'event: response.created

'
- 'data: {"type":"response.created","response":{"id":"resp_04fef06d149c9eff006a5150a4bb808199971ef24dd2e364cd","object":"response","created_at":1783713956,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":1024,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"context":null,"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"image_tokens":0,"text_tokens":0},"output_tokens":0,"output_tokens_details":{"image_tokens":0,"text_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"tools":[{"type":"function","description":"Search
the web for current information.","name":"web_search","parameters":{"type":"object","properties":{"query":{"type":"string","description":"the
search query"}},"required":["query"],"additionalProperties":false},"strict":true},{"type":"function","description":"Run
a shell command via the mcp__shell namespace tool.","name":"agentic_ns__mcp__shell__run","parameters":{"type":"object","properties":{"command":{"type":"string"}},"required":["command"],"additionalProperties":false},"strict":true}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}

'
- '

'
- 'event: response.in_progress

'
- 'data: {"type":"response.in_progress","response":{"id":"resp_04fef06d149c9eff006a5150a4bb808199971ef24dd2e364cd","object":"response","created_at":1783713956,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":1024,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"context":null,"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"image_tokens":0,"text_tokens":0},"output_tokens":0,"output_tokens_details":{"image_tokens":0,"text_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"tools":[{"type":"function","description":"Search
the web for current information.","name":"web_search","parameters":{"type":"object","properties":{"query":{"type":"string","description":"the
search query"}},"required":["query"],"additionalProperties":false},"strict":true},{"type":"function","description":"Run
a shell command via the mcp__shell namespace tool.","name":"agentic_ns__mcp__shell__run","parameters":{"type":"object","properties":{"command":{"type":"string"}},"required":["command"],"additionalProperties":false},"strict":true}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}

'
- '

'
- 'event: response.output_item.added

'
- 'data: {"type":"response.output_item.added","item":{"id":"fc_04fef06d149c9eff006a5150a584948199a8e8be184148c2e7","type":"function_call","status":"in_progress","arguments":"","call_id":"call_eEwwbAjBJ3j0FdVMY3tdN0fs","name":"web_search"},"output_index":0,"sequence_number":2}

'
- '

'
- 'event: response.function_call_arguments.delta

'
- 'data: {"type":"response.function_call_arguments.delta","delta":"{\"query\":\"rust
async news\"}","item_id":"fc_04fef06d149c9eff006a5150a584948199a8e8be184148c2e7","obfuscation":"H7qcP","output_index":0,"sequence_number":3}

'
- '

'
- 'event: response.function_call_arguments.done

'
- 'data: {"type":"response.function_call_arguments.done","arguments":"{\"query\":\"rust
async news\"}","item_id":"fc_04fef06d149c9eff006a5150a584948199a8e8be184148c2e7","output_index":0,"sequence_number":4}

'
- '

'
- 'event: response.output_item.done

'
- 'data: {"type":"response.output_item.done","item":{"id":"fc_04fef06d149c9eff006a5150a584948199a8e8be184148c2e7","type":"function_call","status":"completed","arguments":"{\"query\":\"rust
async news\"}","call_id":"call_eEwwbAjBJ3j0FdVMY3tdN0fs","name":"web_search"},"output_index":0,"sequence_number":5}

'
- '

'
- 'event: response.output_item.added

'
- 'data: {"type":"response.output_item.added","item":{"id":"fc_04fef06d149c9eff006a5150a584a48199980dec99b10034b6","type":"function_call","status":"in_progress","arguments":"","call_id":"call_jxtolIGTTT3l9IT3VkBhCh67","name":"agentic_ns__mcp__shell__run"},"output_index":1,"sequence_number":6}

'
- '

'
- 'event: response.function_call_arguments.delta

'
- 'data: {"type":"response.function_call_arguments.delta","delta":"{\"command\":\"pwd\"}","item_id":"fc_04fef06d149c9eff006a5150a584a48199980dec99b10034b6","obfuscation":"ODK8N8cIMQT6Ntw","output_index":1,"sequence_number":7}

'
- '

'
- 'event: response.function_call_arguments.done

'
- 'data: {"type":"response.function_call_arguments.done","arguments":"{\"command\":\"pwd\"}","item_id":"fc_04fef06d149c9eff006a5150a584a48199980dec99b10034b6","output_index":1,"sequence_number":8}

'
- '

'
- 'event: response.output_item.done

'
- 'data: {"type":"response.output_item.done","item":{"id":"fc_04fef06d149c9eff006a5150a584a48199980dec99b10034b6","type":"function_call","status":"completed","arguments":"{\"command\":\"pwd\"}","call_id":"call_jxtolIGTTT3l9IT3VkBhCh67","name":"agentic_ns__mcp__shell__run"},"output_index":1,"sequence_number":9}

'
- '

'
- 'event: response.completed

'
- 'data: {"type":"response.completed","response":{"id":"resp_04fef06d149c9eff006a5150a4bb808199971ef24dd2e364cd","object":"response","created_at":1783713956,"status":"completed","background":false,"completed_at":1783713957,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":1024,"max_tool_calls":null,"model":"gpt-4o-2024-08-06","moderation":null,"output":[{"id":"fc_04fef06d149c9eff006a5150a584948199a8e8be184148c2e7","type":"function_call","status":"completed","arguments":"{\"query\":\"rust
async news\"}","call_id":"call_eEwwbAjBJ3j0FdVMY3tdN0fs","name":"web_search"},{"id":"fc_04fef06d149c9eff006a5150a584a48199980dec99b10034b6","type":"function_call","status":"completed","arguments":"{\"command\":\"pwd\"}","call_id":"call_jxtolIGTTT3l9IT3VkBhCh67","name":"agentic_ns__mcp__shell__run"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"context":null,"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"image_tokens":0,"text_tokens":0},"output_tokens":0,"output_tokens_details":{"image_tokens":0,"text_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"tools":[{"type":"function","description":"Search
the web for current information.","name":"web_search","parameters":{"type":"object","properties":{"query":{"type":"string","description":"the
search query"}},"required":["query"],"additionalProperties":false},"strict":true},{"type":"function","description":"Run
a shell command via the mcp__shell namespace tool.","name":"agentic_ns__mcp__shell__run","parameters":{"type":"object","properties":{"command":{"type":"string"}},"required":["command"],"additionalProperties":false},"strict":true}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":122,"input_tokens_details":{"cache_write_tokens":0,"cached_tokens":0},"output_tokens":55,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":177},"user":null,"metadata":{}},"sequence_number":10}

'
- '

'
status_code: 200
Loading