openai.internal.ChatCompat$stream

Everything that differs between OpenAI-compatible endpoints, as data. `base_url` arrives already resolved by the wrapper (explicit option, then the named env var, then the provider default), so the core never reads env for it.

Reference version

Signature

class openai.internal.ChatCompat$stream

Everything that differs between OpenAI-compatible endpoints, as data. base_url arrives already resolved by the wrapper (explicit option, then the named env var, then the provider default), so the core never reads env for it.

Source:<builtin>/openai/ns_internal/chat.bamlbytes 0–0

Fields

provider

string | null

base_url

string | null

path

string | null

api_key_env

string | null

api_key_required

bool | null

collapse_text_content

bool | null

inline_image_urls

bool | null

send_stream_options

bool | null

max_tokens_key

string | null

default_max_tokens

int | null

default_role

string | null

compat_query

map<string, string>