Skip to content

Commit 881fd03

Browse files
committed
remove extra file push by mistake
Signed-off-by: Filinto Duran <[email protected]>
1 parent f2341d3 commit 881fd03

File tree

2 files changed

+5
-59
lines changed

2 files changed

+5
-59
lines changed

docs/sessions/dapr_session.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ Create your Python application (save as `example.py`):
105105
import asyncio
106106
import os
107107
108+
os.environ["GRPC_VERBOSITY"] = (
109+
"ERROR" # Suppress gRPC warnings caused by the Dapr Python SDK gRPC connection.
110+
)
108111
from agents import Agent, Runner
109112
from agents.extensions.memory import DaprSession
110113
@@ -127,19 +130,11 @@ async def main():
127130
128131
try:
129132
# First turn
130-
result = await Runner.run(
131-
agent,
132-
"What city is the Golden Gate Bridge in?",
133-
session=session
134-
)
133+
result = await Runner.run(agent, "What city is the Golden Gate Bridge in?", session=session)
135134
print(f"Agent: {result.final_output}") # "San Francisco"
136135
137136
# Second turn - agent remembers context
138-
result = await Runner.run(
139-
agent,
140-
"What state is it in?",
141-
session=session
142-
)
137+
result = await Runner.run(agent, "What state is it in?", session=session)
143138
print(f"Agent: {result.final_output}") # "California"
144139
145140
finally:

test.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)