Skip to content

Commit 5d71138

Browse files
authored
chore: attachment margin (#64)
1 parent b84fc36 commit 5d71138

3 files changed

Lines changed: 9 additions & 18 deletions

File tree

internal/api/chat/list_supported_models_v2.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ func (s *ChatServerV2) ListSupportedModels(
3535
InputPrice: 200,
3636
OutputPrice: 800,
3737
},
38-
{
39-
Name: "GPT-4o",
40-
Slug: "openai/gpt-4o",
41-
TotalContext: 128000,
42-
MaxOutput: 16400,
43-
InputPrice: 250,
44-
OutputPrice: 1000,
45-
},
4638
{
4739
Name: "GPT-4.1-mini",
4840
Slug: "openai/gpt-4.1-mini",
@@ -75,6 +67,14 @@ func (s *ChatServerV2) ListSupportedModels(
7567
InputPrice: 30,
7668
OutputPrice: 250,
7769
},
70+
{
71+
Name: "Gemini 3 Flash Preview",
72+
Slug: "google/gemini-3-flash-preview",
73+
TotalContext: 1050000,
74+
MaxOutput: 65500,
75+
InputPrice: 50,
76+
OutputPrice: 300,
77+
},
7878
}
7979
} else {
8080
models = []*chatv2.SupportedModel{

webapp/_webapp/src/components/message-entry-container/attachment-popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { STYLES } from "../message-card";
44
// Components
55
export const AttachmentPopover = ({ attachment }: { attachment: string }) => (
66
<Popover placement="bottom" showArrow={true} className="!mt-1">
7-
<PopoverTrigger className="bg-gray-200 !rounded-xl !flex !w-fit noselect">
7+
<PopoverTrigger className="bg-gray-200 !rounded-xl !flex !w-fit mt-1 noselect">
88
<span className="!text-xs !text-gray-400 border border-gray-300 !rounded-lg !px-1">attachment</span>
99
</PopoverTrigger>
1010
<PopoverContent className={STYLES.attachment.content}>

webapp/_webapp/src/views/chat/actions/actions.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ export const useActions = ({ enabled, filter }: useActionsProps) => {
3535
ShowHistory();
3636
},
3737
},
38-
{
39-
name: ":paper-score",
40-
description: "Analyze Paper Score",
41-
action: async () => {
42-
setPrompt("");
43-
inputRef?.current?.focus();
44-
await sendMessageStream("Go through the paper and give me a score of the current paper.", "");
45-
},
46-
},
4738
];
4839

4940
return items.filter(

0 commit comments

Comments
 (0)