mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
This commit is contained in:
parent
d0519be0d0
commit
59765e0157
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ export namespace Provider {
|
|||
openai: async () => {
|
||||
return {
|
||||
autoload: false,
|
||||
async getModel(sdk: any, modelID: string, options?: Record<string, any>) {
|
||||
async getModel(sdk: any, modelID: string, _options?: Record<string, any>) {
|
||||
return sdk.responses(modelID)
|
||||
},
|
||||
options: {},
|
||||
|
|
@ -90,7 +90,7 @@ export namespace Provider {
|
|||
region,
|
||||
credentialProvider: fromNodeProviderChain(),
|
||||
},
|
||||
async getModel(sdk: any, modelID: string, options?: Record<string, any>) {
|
||||
async getModel(sdk: any, modelID: string, _options?: Record<string, any>) {
|
||||
let regionPrefix = region.split("-")[0]
|
||||
|
||||
switch (regionPrefix) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue