fix(opencode): support native OpenAI OAuth fetch (#28571)
This commit is contained in:
parent
2b28cc9024
commit
facd207396
9 changed files with 418 additions and 161 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue