Skip to content

Commit a608328

Browse files
committed
Updates AI UI layout
1 parent 8ecffb3 commit a608328

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/webviews/apps/plus/shared/components/integrations-chip.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export class GLIntegrationsChip extends LitElement {
345345
<span class="integration__icon"><code-icon icon="${icon}"></code-icon></span>
346346
<span class="integration__content">
347347
<span class="integration__title">
348-
<span>${model?.name ?? 'AI'}</span>
348+
<span>${model?.provider.name ?? 'AI'}</span>
349349
${showProBadge
350350
? html` <gl-feature-badge
351351
placement="right"
@@ -354,9 +354,7 @@ export class GLIntegrationsChip extends LitElement {
354354
></gl-feature-badge>`
355355
: nothing}
356356
</span>
357-
${model?.provider
358-
? html`<span class="integration__details">AI Provider: ${model.provider.name}</span>`
359-
: nothing}
357+
${model?.name ? html`<span class="integration__details">${model.name}</span>` : nothing}
360358
</span>
361359
<span class="integration__actions">
362360
<gl-button

0 commit comments

Comments
 (0)