We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca323e1 commit bfa9d62Copy full SHA for bfa9d62
1 file changed
web/src/core/adapters/onyxiaApi/onyxiaApi.ts
@@ -445,8 +445,8 @@ export function createOnyxiaApi(params: {
445
? value
446
: [value];
447
448
- return aiConfigs_api.map(aiConfig_api => ({
449
- id: aiConfig_api.id ?? aiConfig_api.URL,
+ return aiConfigs_api.map((aiConfig_api, i) => ({
+ id: aiConfig_api.id ?? `onyxia-${i}`,
450
url: aiConfig_api.URL,
451
name: aiConfig_api.name,
452
oauthProvider: aiConfig_api.oauthProvider,
0 commit comments