mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
fix(frontend): brain name (#2311)
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
This commit is contained in:
parent
efb8685c9c
commit
8b4206c0e3
@ -31,6 +31,7 @@ class IntegrationDescriptionEntity(BaseModel):
|
|||||||
description: str
|
description: str
|
||||||
max_files: int
|
max_files: int
|
||||||
allow_model_change: bool
|
allow_model_change: bool
|
||||||
|
integration_display_name: str
|
||||||
|
|
||||||
|
|
||||||
class IntegrationEntity(BaseModel):
|
class IntegrationEntity(BaseModel):
|
||||||
|
@ -91,6 +91,7 @@ export type IntegrationBrains = {
|
|||||||
max_files: number;
|
max_files: number;
|
||||||
tags: IntegrationBrainTag[];
|
tags: IntegrationBrainTag[];
|
||||||
information: string;
|
information: string;
|
||||||
|
integration_display_name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type UpdateBrainInput = Partial<CreateBrainInput>;
|
export type UpdateBrainInput = Partial<CreateBrainInput>;
|
||||||
|
@ -53,7 +53,7 @@ export const BrainCatalogue = ({
|
|||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
<span className={styles.brain_title}>
|
<span className={styles.brain_title}>
|
||||||
{brain.integration_name}
|
{brain.integration_display_name}
|
||||||
</span>
|
</span>
|
||||||
<div className={styles.tag_wrapper}>
|
<div className={styles.tag_wrapper}>
|
||||||
{brain.tags[0] && (
|
{brain.tags[0] && (
|
||||||
|
@ -19,6 +19,7 @@ export type IntegrationDescription = {
|
|||||||
integration_type: "custom" | "sync";
|
integration_type: "custom" | "sync";
|
||||||
max_files: number;
|
max_files: number;
|
||||||
allow_model_change: boolean;
|
allow_model_change: boolean;
|
||||||
|
integration_display_name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Brain = {
|
export type Brain = {
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
alter table "public"."integrations" add column "integration_display_name" text not null default 'Brain'::text;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user