mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 02:04:05 +00:00
Fix message editor height adjustment, requires Chrome +123
This commit is contained in:
parent
b6b64dff86
commit
92f8801864
11 changed files with 41 additions and 38 deletions
|
|
@ -59,6 +59,7 @@ export class ChatPanel extends LitElement {
|
|||
config?: {
|
||||
onApiKeyRequired?: (provider: string) => Promise<boolean>;
|
||||
onBeforeSend?: () => void | Promise<void>;
|
||||
onCostClick?: () => void;
|
||||
sandboxUrlProvider?: () => string;
|
||||
toolsFactory?: (
|
||||
agent: Agent,
|
||||
|
|
@ -79,6 +80,7 @@ export class ChatPanel extends LitElement {
|
|||
this.agentInterface.showThemeToggle = false;
|
||||
this.agentInterface.onApiKeyRequired = config?.onApiKeyRequired;
|
||||
this.agentInterface.onBeforeSend = config?.onBeforeSend;
|
||||
this.agentInterface.onCostClick = config?.onCostClick;
|
||||
|
||||
// Set up artifacts panel
|
||||
this.artifactsPanel = new ArtifactsPanel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue