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 bea3850 commit bbb2f7cCopy full SHA for bbb2f7c
src/pdl/pdl_ast.py
@@ -1,6 +1,7 @@
1
"""PDL programs are represented by the Pydantic data structure defined in this file."""
2
3
from enum import StrEnum
4
+from os import environ
5
from typing import (
6
Annotated,
7
Any,
@@ -449,7 +450,7 @@ class LitellmParameters(BaseModel):
449
450
"""The name of the function to call within the conversation (default is an empty string)
451
"""
452
# set api_base, api_version, api_key
- base_url: Optional[str] | str = None
453
+ base_url: Optional[str] | str = environ.get("OPENAI_BASE_URL")
454
"""Base URL for the API (default is None).
455
456
api_version: Optional[str] | str = None
0 commit comments