Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
616192e
Runner
pakrym-oai May 20, 2025
046c287
LLM: run.py: add support for configurable default Runner
pakrym-oai May 20, 2025
c7b5053
LLM: agents: export DefaultRunner and set_default_runner in __init__
pakrym-oai May 20, 2025
a10f945
test
pakrym-oai May 20, 2025
2002dd9
LLM: rename Runner execution methods to use leading underscores
pakrym-oai May 20, 2025
40d1b91
Add ID generation methods to TraceProvider (#729)
pakrym-oai May 21, 2025
b914570
LLM: refactor(tracing): move TraceProvider to separate module and rep…
pakrym-oai May 21, 2025
27646ee
LLM: tracing/spans: generate span_id if not provided in SpanImpl cons…
pakrym-oai May 21, 2025
caf30b9
tracing: introduce TraceProvider interface and DefaultTraceProvider i…
pakrym-oai Jun 11, 2025
3a4547f
Merge branch 'main' into pakrym/runner-class
pakrym-oai Jun 11, 2025
9538c81
run.py: call _get_all_tools as DefaultRunner class method instead of …
pakrym-oai Jun 11, 2025
9f7934a
agents: add get_default_runner and ensure DEFAULT_RUNNER is always in…
pakrym-oai Jun 11, 2025
b25beb6
runner: remove unused helper methods from Runner class
pakrym-oai Jun 11, 2025
83251c3
move utility methods (_get_output_schema, _get_handoffs, _get_all_too…
pakrym-oai Jun 11, 2025
0ba33c4
Introduce AgentRunner class (#886)
pakrym-oai Jun 17, 2025
1d5537c
cleanup
pakrym-oai Jun 17, 2025
aeede3c
agents/__init__.py: remove unused AgentRunner and DefaultAgentRunner …
pakrym-oai Jun 17, 2025
27c63c6
tests: clean unused import in test_run_step_processing & fix import o…
pakrym-oai Jun 17, 2025
43be477
fb
pakrym-oai Jun 17, 2025
d30a512
AgentRunner: add docstring warning that class is not public API
pakrym-oai Jun 17, 2025
8fc9aef
Merge branch 'main' into pakrym/runner-class
pakrym-oai Jun 17, 2025
ec1caee
run.py: import NotRequired from typing_extensions instead of typing; …
pakrym-oai Jun 17, 2025
28ff992
default
pakrym-oai Jun 17, 2025
5eb0486
run.py: set_default_agent_runner accepts None, resets DEFAULT_AGENT_R…
pakrym-oai Jun 17, 2025
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
7 changes: 6 additions & 1 deletion src/agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from .models.openai_responses import OpenAIResponsesModel
from .repl import run_demo_loop
from .result import RunResult, RunResultStreaming
from .run import RunConfig, Runner
from .run import DefaultRunner, RunConfig, Runner, set_default_runner
from .run_context import RunContextWrapper, TContext
from .stream_events import (
AgentUpdatedStreamEvent,
Expand Down Expand Up @@ -103,6 +103,7 @@
handoff_span,
mcp_tools_span,
set_trace_processors,
set_trace_provider,
set_tracing_disabled,
set_tracing_export_api_key,
speech_group_span,
Expand Down Expand Up @@ -161,6 +162,7 @@ def enable_verbose_stdout_logging():
"ToolsToFinalOutputFunction",
"ToolsToFinalOutputResult",
"Runner",
"DefaultRunner",
"run_demo_loop",
"Model",
"ModelProvider",
Expand Down Expand Up @@ -239,9 +241,11 @@ def enable_verbose_stdout_logging():
"generation_span",
"get_current_span",
"get_current_trace",
"get_default_runner",
"guardrail_span",
"handoff_span",
"set_trace_processors",
"set_trace_provider",
"set_tracing_disabled",
"speech_group_span",
"transcription_span",
Expand All @@ -266,6 +270,7 @@ def enable_verbose_stdout_logging():
"set_default_openai_key",
"set_default_openai_client",
"set_default_openai_api",
"set_default_runner",
"set_tracing_export_api_key",
"enable_verbose_stdout_logging",
"gen_trace_id",
Expand Down
Loading