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$streamEverything 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 | nullbase_url
string | nullpath
string | nullauth
openai.internal.ChatAuth | nullapi_key_env
string | nullapi_key_required
bool | nullcollapse_text_content
bool | nullinline_image_urls
bool | nullsend_stream_options
bool | nullmax_tokens_key
string | nulldefault_max_tokens
int | nulldefault_role
string | nullcompat_query
map<string, string>