GHHG10/CodeServer / opencode /packages /core /src /github-copilot /chat /openai-compatible-chat-options.ts
GHHG10's picture
download
raw
750 Bytes
import { z } from "zod/v4"
export type OpenAICompatibleChatModelId = string
export const openaiCompatibleProviderOptions = z.object({
/**
* A unique identifier representing your end-user, which can help the provider to
* monitor and detect abuse.
*/
user: z.string().optional(),
/**
* Reasoning effort for reasoning models. Defaults to `medium`.
*/
reasoningEffort: z.string().optional(),
/**
* Controls the verbosity of the generated text. Defaults to `medium`.
*/
textVerbosity: z.string().optional(),
/**
* Copilot thinking_budget used for Anthropic models.
*/
thinking_budget: z.number().optional(),
})
export type OpenAICompatibleProviderOptions = z.infer<typeof openaiCompatibleProviderOptions>

Xet Storage Details

Size:
750 Bytes
·
Xet hash:
a03c9d0577e602b01a596713f9827b85fbfb704ee64fb422857c616148d97842

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.