Add better tracing for sync_provider #183
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tested locally:
{
"id": "706f6b2b-ee1c-460e-952e-8b93ba9edfdf",
"trace_id": "d47b3b05-aefe-4e53-bf7a-91c27c3d6924",
"parent_id": null,
"name": "run_agent_streamed",
"start_time": "2025-11-03T23:06:00.715082Z",
"end_time": "2025-11-03T23:06:02.346066Z",
"input": {
"system_instructions": "You are a helpful assistant that can answer questions.",
"input": [
{
"role": "user",
"content": "fewfjawkel feawjlk"
}
],
"model_settings": "ModelSettings(temperature=None, top_p=None, frequency_penalty=None, presence_penalty=None, tool_choice=None, parallel_tool_calls=None, truncation=None, max_tokens=None, reasoning=None, verbosity=None, metadata=None, store=None, include_usage=None, response_include=None, top_logprobs=None, extra_query=None, extra_body=None, extra_headers=None, extra_args=None)",
"tools": [],
"output_schema": null,
"handoffs": [],
"previous_response_id": null
},
"output": {
"new_items": [],
"final_output": "It seems like your message got a bit jumbled! How can I assist you today?"
},
"data": null
}