Skip to content

Commit ff88868

Browse files
committed
Rename the tutorials
1 parent e1dfded commit ff88868

File tree

18 files changed

+31
-37
lines changed

18 files changed

+31
-37
lines changed

examples/tutorials/10_async/10_temporal/060_open_ai_agents_sdk_hello_world/dev.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
"id": "d1c309d6",
1919
"metadata": {},
2020
"outputs": [],
21-
"source": [
22-
"AGENT_NAME = \"example-tutorial\""
23-
]
21+
"source": "AGENT_NAME = \"at060-open-ai-agents-sdk-hello-world\""
2422
},
2523
{
2624
"cell_type": "code",

examples/tutorials/10_async/10_temporal/060_open_ai_agents_sdk_hello_world/manifest.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ agent:
6969

7070
# Unique name for your agent
7171
# Used for task routing and monitoring
72-
name: example-tutorial
72+
name: at060-open-ai-agents-sdk-hello-world
7373

7474
# Description of what your agent does
7575
# Helps with documentation and discovery
@@ -82,12 +82,12 @@ agent:
8282
workflows:
8383
# Name of the workflow class
8484
# Must match the @workflow.defn name in your workflow.py
85-
- name: example-tutorial
85+
- name: at060-open-ai-agents-sdk-hello-world
8686

8787
# Queue name for task distribution
8888
# Used by Temporal to route tasks to your agent
8989
# Convention: <agent_name>_task_queue
90-
queue_name: example_tutorial_queue
90+
queue_name: at060_open_ai_agents_sdk_hello_world_queue
9191

9292
# Optional: Credentials mapping
9393
# Maps Kubernetes secrets to environment variables
@@ -124,7 +124,7 @@ deployment:
124124
# These can be overridden using --override-file with custom configuration files
125125
global:
126126
agent:
127-
name: "example-tutorial"
127+
name: "at060-open-ai-agents-sdk-hello-world"
128128
description: "An AgentEx agent"
129129

130130
# Default replica count

examples/tutorials/10_async/10_temporal/060_open_ai_agents_sdk_hello_world/project/run_worker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from temporalio.contrib.openai_agents import OpenAIAgentsPlugin
44

5-
from project.workflow import ExampleTutorialWorkflow
5+
from project.workflow import At060OpenAiAgentsSdkHelloWorldWorkflow
66
from agentex.lib.utils.debug import setup_debug_if_enabled
77
from agentex.lib.utils.logging import make_logger
88
from agentex.lib.environment_variables import EnvironmentVariables
@@ -62,7 +62,7 @@ async def main():
6262

6363
await worker.run(
6464
activities=all_activities,
65-
workflow=ExampleTutorialWorkflow,
65+
workflow=At060OpenAiAgentsSdkHelloWorldWorkflow,
6666
)
6767

6868
if __name__ == "__main__":

examples/tutorials/10_async/10_temporal/060_open_ai_agents_sdk_hello_world/project/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class StateModel(BaseModel):
7878

7979

8080
@workflow.defn(name=environment_variables.WORKFLOW_NAME)
81-
class ExampleTutorialWorkflow(BaseWorkflow):
81+
class At060OpenAiAgentsSdkHelloWorldWorkflow(BaseWorkflow):
8282
"""
8383
Hello World Temporal Workflow with OpenAI Agents SDK Integration
8484

examples/tutorials/10_async/10_temporal/060_open_ai_agents_sdk_hello_world/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "example_tutorial"
6+
name = "at060_open_ai_agents_sdk_hello_world"
77
version = "0.1.0"
88
description = "An AgentEx agent"
99
requires-python = ">=3.12"

examples/tutorials/10_async/10_temporal/060_open_ai_agents_sdk_hello_world/tests/test_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# Configuration from environment variables
3333
AGENTEX_API_BASE_URL = os.environ.get("AGENTEX_API_BASE_URL", "http://localhost:5003")
34-
AGENT_NAME = os.environ.get("AGENT_NAME", "example-tutorial")
34+
AGENT_NAME = os.environ.get("AGENT_NAME", "at060-open-ai-agents-sdk-hello-world")
3535

3636

3737
@pytest_asyncio.fixture

examples/tutorials/10_async/10_temporal/070_open_ai_agents_sdk_tools/dev.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
"id": "d1c309d6",
1919
"metadata": {},
2020
"outputs": [],
21-
"source": [
22-
"AGENT_NAME = \"example-tutorial\""
23-
]
21+
"source": "AGENT_NAME = \"at070-open-ai-agents-sdk-tools\""
2422
},
2523
{
2624
"cell_type": "code",

examples/tutorials/10_async/10_temporal/070_open_ai_agents_sdk_tools/manifest.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ agent:
6767

6868
# Unique name for your agent
6969
# Used for task routing and monitoring
70-
name: example-tutorial
70+
name: at070-open-ai-agents-sdk-tools
7171

7272
# Description of what your agent does
7373
# Helps with documentation and discovery
@@ -80,12 +80,12 @@ agent:
8080
workflows:
8181
# Name of the workflow class
8282
# Must match the @workflow.defn name in your workflow.py
83-
- name: example-tutorial
83+
- name: at070-open-ai-agents-sdk-tools
8484

8585
# Queue name for task distribution
8686
# Used by Temporal to route tasks to your agent
8787
# Convention: <agent_name>_task_queue
88-
queue_name: example_tutorial_queue
88+
queue_name: at070_open_ai_agents_sdk_tools_queue
8989

9090
# Optional: Credentials mapping
9191
# Maps Kubernetes secrets to environment variables
@@ -122,7 +122,7 @@ deployment:
122122
# These can be overridden using --override-file with custom configuration files
123123
global:
124124
agent:
125-
name: "example-tutorial"
125+
name: "at070-open-ai-agents-sdk-tools"
126126
description: "An AgentEx agent"
127127

128128
# Default replica count

examples/tutorials/10_async/10_temporal/070_open_ai_agents_sdk_tools/project/run_worker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from temporalio.contrib.openai_agents import OpenAIAgentsPlugin
44

5-
from project.workflow import ExampleTutorialWorkflow
5+
from project.workflow import At070OpenAiAgentsSdkToolsWorkflow
66
from project.activities import get_weather, deposit_money, withdraw_money
77
from agentex.lib.utils.debug import setup_debug_if_enabled
88
from agentex.lib.utils.logging import make_logger
@@ -64,7 +64,7 @@ async def main():
6464

6565
await worker.run(
6666
activities=all_activities,
67-
workflow=ExampleTutorialWorkflow,
67+
workflow=At070OpenAiAgentsSdkToolsWorkflow,
6868
)
6969

7070
if __name__ == "__main__":

examples/tutorials/10_async/10_temporal/070_open_ai_agents_sdk_tools/project/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class StateModel(BaseModel):
111111

112112

113113
@workflow.defn(name=environment_variables.WORKFLOW_NAME)
114-
class ExampleTutorialWorkflow(BaseWorkflow):
114+
class At070OpenAiAgentsSdkToolsWorkflow(BaseWorkflow):
115115
"""
116116
Minimal async workflow template for AgentEx Temporal agents.
117117
"""

0 commit comments

Comments
 (0)