Skip to content
Open
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
2 changes: 2 additions & 0 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def main():
api_key=os.getenv("OPENROUTER_API_KEY", ""),
) as open_router:
# Rest of application here...
pass


# Or when using async:
Expand All @@ -318,6 +319,7 @@ async def amain():
api_key=os.getenv("OPENROUTER_API_KEY", ""),
) as open_router:
# Rest of application here...
pass
```
<!-- End Resource Management [resource-management] -->

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def main():
api_key=os.getenv("OPENROUTER_API_KEY", ""),
) as open_router:
# Rest of application here...
pass
Comment thread
LukasParke marked this conversation as resolved.


# Or when using async:
Expand All @@ -318,6 +319,7 @@ async def amain():
api_key=os.getenv("OPENROUTER_API_KEY", ""),
) as open_router:
# Rest of application here...
pass
```
<!-- End Resource Management [resource-management] -->

Expand Down
Loading