Skip to content

Commit 245b2be

Browse files
committedMar 31, 2025·
lol first try
1 parent fc8384f commit 245b2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎examples/hello_agent.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def write_file(path: str, content: str):
1818
model=OpenAIModel(
1919
"gpt-4o",
2020
provider=OpenAIProvider(
21-
api_key=api_key,
21+
api_key=os.getenv("OPENAI_API_KEY"),
2222
base_url="https://api.openai.com/v1",
2323
http_client=httpx.AsyncClient(
2424
# proxy="http://localhost:8080",

0 commit comments

Comments
 (0)
Please sign in to comment.