mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
fix(frontend): preserve provider integration IDs
This commit is contained in:
1 parent
d07c468a4d
commit
3b91c2f1a2
1 file changed
+2
@@ -32,6 +32,7 @@ export interface Model {
|
||||
|
||||
export interface Provider {
|
||||
id: string;
|
||||
integrationID?: string;
|
||||
name: string;
|
||||
models: Model[];
|
||||
}
|
||||
@@ -83,6 +84,7 @@ export async function getProviders(directory?: string, serverId?: string): Promi
|
||||
|
||||
return {
|
||||
id: provider.id,
|
||||
integrationID: provider.integrationID,
|
||||
name: provider.name,
|
||||
models,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user