refactor(core): nest model api id (#30603)

This commit is contained in:
Dax
2026-06-03 14:11:38 -04:00
committed by GitHub
parent af6383485b
commit 11dbd15812
35 changed files with 129 additions and 79 deletions
+4 -2
View File
@@ -2685,12 +2685,12 @@ export type EventTuiSessionSelect2 = {
export type ModelV2Info = {
id: string
apiID: string
providerID: string
family?: string
name: string
api:
| {
id: string
type: "aisdk"
package: string
url?: string
@@ -2699,6 +2699,7 @@ export type ModelV2Info = {
}
}
| {
id: string
type: "native"
url?: string
settings: {
@@ -3694,12 +3695,12 @@ export type EventPluginAdded = {
export type ModelV2Info1 = {
id: string
apiID: string
providerID: string
family?: string
name: string
api:
| {
id: string
type: "aisdk"
package: string
url?: string
@@ -3708,6 +3709,7 @@ export type ModelV2Info1 = {
}
}
| {
id: string
type: "native"
url?: string
settings: {