We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf14bc commit a785eb3Copy full SHA for a785eb3
scenarios/projects/basic/README.md
@@ -71,7 +71,7 @@ py -3 -m venv .venv
71
On Linux:
72
```
73
python3 -m venv .venv
74
-source venv/bin/activate
+source .venv/bin/activate
75
76
77
Install the core dependencies to run the sample:
scenarios/projects/basic/agents.py
@@ -43,6 +43,8 @@
43
44
# get messages from the thread and print the response (last message)
45
messages = project.agents.list_messages(thread_id=thread.id)
46
-print(f"Response: {messages[-1]}")
+for text_message in messages.text_messages:
47
+ print(text_message.as_dict())
48
+
49
50
# </run_agent>
0 commit comments