Skip to content
Merged
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
3 changes: 2 additions & 1 deletion src/pdl/pdl_ast.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""PDL programs are represented by the Pydantic data structure defined in this file."""

from enum import StrEnum
from os import environ
from typing import (
Annotated,
Any,
Expand Down Expand Up @@ -449,7 +450,7 @@ class LitellmParameters(BaseModel):
"""The name of the function to call within the conversation (default is an empty string)
"""
# set api_base, api_version, api_key
base_url: Optional[str] | str = None
base_url: Optional[str] | str = environ.get("OPENAI_BASE_URL")
"""Base URL for the API (default is None).
"""
api_version: Optional[str] | str = None
Expand Down