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
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ Finally, run the chatbot:

`poetry run python chatbot.py`

{% if _framework == "openai_agents" %}Note: If you are seeing the log `OPENAI_API_KEY is not set, skipping trace export`, fix it by exporting the OPENAI_API_KEY in your terminal.

```sh
export OPENAI_API_KEY=<your-openai-api-key>
```
{% endif %}
## Project Architecture

This template creates a secure AI agent with its own wallet. Let's explore how each component works together:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ Finally, run the chatbot:

`poetry run python chatbot.py`

{% if _framework == "openai_agents" %}Note: If you are seeing the log `OPENAI_API_KEY is not set, skipping trace export`, fix it by exporting the OPENAI_API_KEY in your terminal.

```sh
export OPENAI_API_KEY=<your-openai-api-key>
```
{% endif %}
## Configuring Your Agent

You can [modify your agent configuration](https://github.com/coinbase/agentkit/tree/main/typescript/agentkit#usage) in the `chatbot.py` file.
Expand Down
8 changes: 7 additions & 1 deletion python/examples/openai-agents-sdk-cdp-chatbot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,10 @@ poetry install

```bash
poetry run python chatbot.py
```
```

Note: If you are seeing the log `OPENAI_API_KEY is not set, skipping trace export`, fix it by exporting the OPENAI_API_KEY in your terminal.

```sh
export OPENAI_API_KEY=<your-openai-api-key>
```