fix(opencode): support native OpenAI OAuth fetch (#28571)

This commit is contained in:
Kit Langton 2026-05-20 23:29:25 -04:00 committed by GitHub
commit facd207396
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 418 additions and 161 deletions

View file

@ -52,4 +52,9 @@ export const textVerbosity = (request: LLMRequest) => {
return isTextVerbosity(value) ? value : undefined
}
export const instructions = (request: LLMRequest) => {
const value = options(request)?.instructions
return typeof value === "string" ? value : undefined
}
export * as OpenAIOptions from "./openai-options"