You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
about: Questions or bugs about using non-OpenAI models
4
+
title: ''
5
+
labels: bug
6
+
assignees: ''
7
+
8
+
---
9
+
10
+
### Please read this first
11
+
12
+
-**Have you read the custom model provider docs, including the 'Common issues' section?**[Model provider docs](https://openai.github.io/openai-agents-python/models/#using-other-llm-providers)
13
+
-**Have you searched for related issues?** Others may have faced similar issues.
14
+
15
+
### Describe the question
16
+
A clear and concise description of what the question or bug is.
17
+
18
+
### Debug information
19
+
- Agents SDK version: (e.g. `v0.0.3`)
20
+
- Python version (e.g. Python 3.10)
21
+
22
+
### Repro steps
23
+
Ideally provide a minimal python script that can be run to reproduce the issue.
24
+
25
+
### Expected behavior
26
+
A clear and concise description of what you expected to happen.
Copy file name to clipboardexpand all lines: README.md
+2-10
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The OpenAI Agents SDK is a lightweight yet powerful framework for building multi
7
7
### Core concepts:
8
8
9
9
1.[**Agents**](https://openai.github.io/openai-agents-python/agents): LLMs configured with instructions, tools, guardrails, and handoffs
10
-
2.[**Handoffs**](https://openai.github.io/openai-agents-python/handoffs/): Allow agents to transfer control to other agents for specific tasks
10
+
2.[**Handoffs**](https://openai.github.io/openai-agents-python/handoffs/): A specialized tool call used by the Agents SDK for transferring control between agents
11
11
3.[**Guardrails**](https://openai.github.io/openai-agents-python/guardrails/): Configurable safety checks for input and output validation
12
12
4.[**Tracing**](https://openai.github.io/openai-agents-python/tracing/): Built-in tracking of agent runs, allowing you to view, debug and optimize your workflows
13
13
@@ -142,15 +142,7 @@ The Agents SDK is designed to be highly flexible, allowing you to model a wide r
142
142
143
143
## Tracing
144
144
145
-
The Agents SDK automatically traces your agent runs, making it easy to track and debug the behavior of your agents. Tracing is extensible by design, supporting custom spans and a wide variety of external destinations, including:
For more details about how to customize or disable tracing, see [Tracing](http://openai.github.io/openai-agents-python/tracing).
145
+
The Agents SDK automatically traces your agent runs, making it easy to track and debug the behavior of your agents. Tracing is extensible by design, supporting custom spans and a wide variety of external destinations, including [Logfire](https://logfire.pydantic.dev/docs/integrations/llms/openai/#openai-agents), [AgentOps](https://docs.agentops.ai/v1/integrations/agentssdk), [Braintrust](https://braintrust.dev/docs/guides/traces/integrations#openai-agents-sdk), [Scorecard](https://docs.scorecard.io/docs/documentation/features/tracing#openai-agents-sdk-integration), and [Keywords AI](https://docs.keywordsai.co/integration/development-frameworks/openai-agent). For more details about how to customize or disable tracing, see [Tracing](http://openai.github.io/openai-agents-python/tracing), which also includes a larger list of [external tracing processors](http://openai.github.io/openai-agents-python/tracing/#external-tracing-processors-list).
154
146
155
147
## Development (only needed if you need to edit the SDK/examples)
Copy file name to clipboardexpand all lines: docs/tracing.md
+11-5
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ The Agents SDK includes built-in tracing, collecting a comprehensive record of e
9
9
1. You can globally disable tracing by setting the env var `OPENAI_AGENTS_DISABLE_TRACING=1`
10
10
2. You can disable tracing for a single run by setting [`agents.run.RunConfig.tracing_disabled`][] to `True`
11
11
12
+
***For organizations operating under a Zero Data Retention (ZDR) policy using OpenAI's APIs, tracing is unavailable.***
13
+
12
14
## Traces and spans
13
15
14
16
-**Traces** represent a single end-to-end operation of a "workflow". They're composed of Spans. Traces have the following properties:
@@ -88,11 +90,15 @@ To customize this default setup, to send traces to alternative or additional bac
88
90
1.[`add_trace_processor()`][agents.tracing.add_trace_processor] lets you add an **additional** trace processor that will receive traces and spans as they are ready. This lets you do your own processing in addition to sending traces to OpenAI's backend.
89
91
2.[`set_trace_processors()`][agents.tracing.set_trace_processors] lets you **replace** the default processors with your own trace processors. This means traces will not be sent to the OpenAI backend unless you include a `TracingProcessor` that does so.
0 commit comments