mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
feat: add support for self hosted llm models
This commit is contained in:
parent
31e075d114
commit
ac0731a374
17 changed files with 179 additions and 48 deletions
|
|
@ -15,6 +15,7 @@ export interface MentionItem {
|
|||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
filename: string;
|
||||
}
|
||||
|
||||
interface MentionTextareaProps {
|
||||
|
|
@ -46,6 +47,7 @@ export function MentionTextarea({
|
|||
id: r.recording_id,
|
||||
name: r.transcript,
|
||||
description: r.transcript,
|
||||
filename: (r.metadata?.original_filename as string) || r.recording_id,
|
||||
})),
|
||||
[recordings]
|
||||
);
|
||||
|
|
@ -195,7 +197,7 @@ export function MentionTextarea({
|
|||
>
|
||||
<div className="flex items-center gap-2">
|
||||
<code className="text-xs bg-muted px-1 py-0.5 rounded font-mono">
|
||||
{item.id}
|
||||
{item.filename}
|
||||
</code>
|
||||
<span className="font-medium truncate">{item.name}</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue