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
2 changes: 1 addition & 1 deletion docs/scripts/translate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
eng_to_non_eng_instructions = {
"common": [
"* The term 'examples' must be code examples when the page mentions the code examples in the repo, it can be translated as either 'code exmaples' or 'sample code'.",
"* The term 'examples' must be code examples when the page mentions the code examples in the repo, it can be translated as either 'code examples' or 'sample code'.",
"* The term 'primitives' can be translated as basic components.",
"* When the terms 'instructions' and 'tools' are mentioned as API parameter names, they must be kept as is.",
"* The terms 'temperature', 'top_p', 'max_tokens', 'presence_penalty', 'frequency_penalty' as parameter names must be kept as is.",
Expand Down
2 changes: 1 addition & 1 deletion src/agents/function_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _detect_docstring_style(doc: str) -> DocstringStyle:

@contextlib.contextmanager
def _suppress_griffe_logging():
# Supresses warnings about missing annotations for params
# Suppresses warnings about missing annotations for params
logger = logging.getLogger("griffe")
previous_level = logger.getEffectiveLevel()
logger.setLevel(logging.ERROR)
Expand Down
2 changes: 1 addition & 1 deletion src/agents/tracing/span_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def export(self) -> dict[str, Any]:
class HandoffSpanData(SpanData):
"""
Represents a Handoff Span in the trace.
Includes source and desitnation agents.
Includes source and destination agents.
"""

__slots__ = ("from_agent", "to_agent")
Expand Down
4 changes: 2 additions & 2 deletions tests/test_agent_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class Foo(TypedDict):


@pytest.mark.asyncio
async def test_structed_output_non_streamed_agent_hooks():
async def test_structured_output_non_streamed_agent_hooks():
hooks = AgentHooksForTests()
model = FakeModel()
agent_1 = Agent(name="test_1", model=model)
Expand Down Expand Up @@ -295,7 +295,7 @@ async def test_structed_output_non_streamed_agent_hooks():


@pytest.mark.asyncio
async def test_structed_output_streamed_agent_hooks():
async def test_structured_output_streamed_agent_hooks():
hooks = AgentHooksForTests()
model = FakeModel()
agent_1 = Agent(name="test_1", model=model)
Expand Down