mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-09 23:13:24 +00:00
feat(core): flatten provider config and load native packages (#35563)
Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
parent
d603eed5a1
commit
e57d9ca390
107 changed files with 2596 additions and 1987 deletions
|
|
@ -59,34 +59,21 @@ describe("run catalog shared", () => {
|
|||
{
|
||||
id: "openai",
|
||||
name: "OpenAI",
|
||||
api: { type: "native", settings: {} },
|
||||
request: { settings: {}, headers: {}, body: {} },
|
||||
package: "",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
id: "gpt-5",
|
||||
modelID: "openai",
|
||||
providerID: "openai",
|
||||
name: "Little Frank",
|
||||
api: { id: "openai", type: "native", settings: {} },
|
||||
capabilities: {
|
||||
tools: true,
|
||||
input: ["text"],
|
||||
output: ["text"],
|
||||
},
|
||||
request: {
|
||||
settings: {},
|
||||
headers: {},
|
||||
body: {},
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
id: "high",
|
||||
settings: {},
|
||||
headers: {},
|
||||
body: {},
|
||||
},
|
||||
],
|
||||
variants: [{ id: "high" }],
|
||||
time: {
|
||||
released: 1,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue