Skip to content

Commit 5cf1e99

Browse files
authored
Merge branch 'main' into add-reasoning-param-to-model-settings
2 parents deb478a + 0110f3a commit 5cf1e99

File tree

27 files changed

+278
-46
lines changed

27 files changed

+278
-46
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assignees: ''
1010
### Please read this first
1111

1212
- **Have you read the docs?**[Agents SDK docs](https://openai.github.io/openai-agents-python/)
13-
- **Have you searched for related issues?** Others may have had similar requesrs
13+
- **Have you searched for related issues?** Others may have had similar requests
1414

1515
### Describe the feature
1616
What is the feature you're requesting? How would it work? Please provide examples and details if possible.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assignees: ''
1010
### Please read this first
1111

1212
- **Have you read the docs?**[Agents SDK docs](https://openai.github.io/openai-agents-python/)
13-
- **Have you searched for related issues?** Others may have had similar requesrs
13+
- **Have you searched for related issues?** Others may have had similar requests
1414

1515
### Question
1616
Describe your question. Provide details if available.

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"python.testing.pytestArgs": [
3+
"tests"
4+
],
5+
"python.testing.unittestEnabled": false,
6+
"python.testing.pytestEnabled": true
7+
}

docs/running_agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The `run_config` parameter lets you configure some global settings for the agent
5353
- [`handoff_input_filter`][agents.run.RunConfig.handoff_input_filter]: A global input filter to apply to all handoffs, if the handoff doesn't already have one. The input filter allows you to edit the inputs that are sent to the new agent. See the documentation in [`Handoff.input_filter`][agents.handoffs.Handoff.input_filter] for more details.
5454
- [`tracing_disabled`][agents.run.RunConfig.tracing_disabled]: Allows you to disable [tracing](tracing.md) for the entire run.
5555
- [`trace_include_sensitive_data`][agents.run.RunConfig.trace_include_sensitive_data]: Configures whether traces will include potentially sensitive data, such as LLM and tool call inputs/outputs.
56-
- [`workflow_name`][agents.run.RunConfig.workflow_name], [`trace_id`][agents.run.RunConfig.trace_id], [`group_id`][agents.run.RunConfig.group_id]: Sets the tracing workflow name, trace ID and trace group ID for the run. We recommend at least setting `workflow_name`. The session ID is an optional field that lets you link traces across multiple runs.
56+
- [`workflow_name`][agents.run.RunConfig.workflow_name], [`trace_id`][agents.run.RunConfig.trace_id], [`group_id`][agents.run.RunConfig.group_id]: Sets the tracing workflow name, trace ID and trace group ID for the run. We recommend at least setting `workflow_name`. The group ID is an optional field that lets you link traces across multiple runs.
5757
- [`trace_metadata`][agents.run.RunConfig.trace_metadata]: Metadata to include on all traces.
5858

5959
## Conversations/chat threads

docs/tracing.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ To customize this default setup, to send traces to alternative or additional bac
101101

102102
- [Weights & Biases](https://weave-docs.wandb.ai/guides/integrations/openai_agents)
103103
- [Arize-Phoenix](https://docs.arize.com/phoenix/tracing/integrations-tracing/openai-agents-sdk)
104-
- [MLflow](https://mlflow.org/docs/latest/tracing/integrations/openai-agent)
104+
- [MLflow (self-hosted/OSS](https://mlflow.org/docs/latest/tracing/integrations/openai-agent)
105+
- [MLflow (Databricks hosted](https://docs.databricks.com/aws/en/mlflow/mlflow-tracing#-automatic-tracing)
105106
- [Braintrust](https://braintrust.dev/docs/guides/traces/integrations#openai-agents-sdk)
106107
- [Pydantic Logfire](https://logfire.pydantic.dev/docs/integrations/llms/openai/#openai-agents)
107108
- [AgentOps](https://docs.agentops.ai/v1/integrations/agentssdk)
@@ -112,3 +113,4 @@ To customize this default setup, to send traces to alternative or additional bac
112113
- [Comet Opik](https://www.comet.com/docs/opik/tracing/integrations/openai_agents)
113114
- [Langfuse](https://langfuse.com/docs/integrations/openaiagentssdk/openai-agents)
114115
- [Langtrace](https://docs.langtrace.ai/supported-integrations/llm-frameworks/openai-agents-sdk)
116+
- [Okahu-Monocle](https://github.com/monocle2ai/monocle)

examples/financial_research_agent/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async def run(self, query: str) -> None:
3838
with trace("Financial research trace", trace_id=trace_id):
3939
self.printer.update_item(
4040
"trace_id",
41-
f"View trace: https://platform.openai.com/traces/{trace_id}",
41+
f"View trace: https://platform.openai.com/traces/trace?trace_id={trace_id}",
4242
is_done=True,
4343
hide_checkmark=True,
4444
)

examples/mcp/filesystem_example/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def main():
4545
) as server:
4646
trace_id = gen_trace_id()
4747
with trace(workflow_name="MCP Filesystem Example", trace_id=trace_id):
48-
print(f"View trace: https://platform.openai.com/traces/{trace_id}\n")
48+
print(f"View trace: https://platform.openai.com/traces/trace?trace_id={trace_id}\n")
4949
await run(server)
5050

5151

examples/mcp/sse_example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This example uses a local SSE server in [server.py](server.py).
55
Run the example via:
66

77
```
8-
uv run python python examples/mcp/sse_example/main.py
8+
uv run python examples/mcp/sse_example/main.py
99
```
1010

1111
## Details

examples/mcp/sse_example/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async def main():
4646
) as server:
4747
trace_id = gen_trace_id()
4848
with trace(workflow_name="SSE Example", trace_id=trace_id):
49-
print(f"View trace: https://platform.openai.com/traces/{trace_id}\n")
49+
print(f"View trace: https://platform.openai.com/traces/trace?trace_id={trace_id}\n")
5050
await run(server)
5151

5252

examples/research_bot/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async def run(self, query: str) -> None:
2323
with trace("Research trace", trace_id=trace_id):
2424
self.printer.update_item(
2525
"trace_id",
26-
f"View trace: https://platform.openai.com/traces/{trace_id}",
26+
f"View trace: https://platform.openai.com/traces/trace?trace_id={trace_id}",
2727
is_done=True,
2828
hide_checkmark=True,
2929
)

0 commit comments

Comments
 (0)