mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 12:03:23 +00:00
Fix TypeScript errors and export UserMessageWithAttachments
- Export UserMessageWithAttachments type from web-ui index - Remove unused i18n import from extract-document tool - Update models.generated.ts (model order changes from API) This fixes type errors when sitegeist uses custom user message renderer
This commit is contained in:
parent
f8b98f7dac
commit
4079bced36
3 changed files with 48 additions and 48 deletions
|
|
@ -18,7 +18,7 @@ export { Input } from "./components/Input.js";
|
|||
export { MessageEditor } from "./components/MessageEditor.js";
|
||||
export { MessageList } from "./components/MessageList.js";
|
||||
// Message components
|
||||
export type { AppMessage, CustomMessages } from "./components/Messages.js";
|
||||
export type { AppMessage, CustomMessages, UserMessageWithAttachments } from "./components/Messages.js";
|
||||
export { AssistantMessage, ToolMessage, UserMessage } from "./components/Messages.js";
|
||||
// Message renderer registry
|
||||
export {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { html, i18n } from "@mariozechner/mini-lit";
|
||||
import { html } from "@mariozechner/mini-lit";
|
||||
import type { AgentTool, ToolResultMessage } from "@mariozechner/pi-ai";
|
||||
import { type Static, Type } from "@sinclair/typebox";
|
||||
import { createRef, ref } from "lit/directives/ref.js";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue