Skip to content

Commit

Permalink
ensure default_assistant passed through
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx authored and Weves committed Sep 24, 2024
1 parent f5adc30 commit ba38dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/src/app/admin/assistants/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function buildPersonaAPIBody(
uploaded_image_id,
remove_image,
search_start_date,
is_default_persona,
};
}

Expand Down
1 change: 1 addition & 0 deletions web/src/app/assistants/edit/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default async function Page({ params }: { params: { id: string } }) {
<Card>
<AssistantEditor
{...values}
admin
defaultPublic={false}
redirectType={SuccessfulPersonaUpdateRedirectType.CHAT}
/>
Expand Down

0 comments on commit ba38dec

Please sign in to comment.