feat(core): flatten provider config and load native packages (#35563)

Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
Shoubhit Dash 2026-07-07 01:48:56 +05:30 committed by GitHub
parent d603eed5a1
commit e57d9ca390
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
107 changed files with 2596 additions and 1987 deletions

View file

@ -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,
},