mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
Opensource examples - Runpod w/Text-Generation-WebUI API Endpoint (#247)
Co-authored-by: Jason Liu <jason@jxnl.co>
This commit is contained in:
@@ -9,7 +9,7 @@ from instructor import Maybe, Mode
|
||||
openrouter_api_key = os.environ.get("OPENROUTER_API_KEY")
|
||||
assert openrouter_api_key, "OPENROUTER_API_KEY is not set in environment variables"
|
||||
|
||||
# Base URL for OpenAI
|
||||
# Base URL for OpenAI client
|
||||
openrouter_base_url = os.environ.get("OPENROUTER_BASE_URL")
|
||||
assert openrouter_base_url, "OPENROUTER_BASE_URL is not set in environment variables"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user