mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 01:03:49 +00:00
Expose agent, agentInterface, and artifactsPanel as public in ChatPanel
Make these properties public so they can be accessed externally for test automation and other programmatic control. Changes: - Change agent, agentInterface, artifactsPanel from private to public
This commit is contained in:
parent
2756f2a974
commit
3db2a6fe2c
2 changed files with 3 additions and 5 deletions
|
|
@ -18,9 +18,9 @@ const BREAKPOINT = 800; // px - switch between overlay and side-by-side
|
|||
|
||||
@customElement("pi-chat-panel")
|
||||
export class ChatPanel extends LitElement {
|
||||
@state() private agent?: Agent;
|
||||
@state() private agentInterface?: AgentInterface;
|
||||
@state() private artifactsPanel?: ArtifactsPanel;
|
||||
@state() public agent?: Agent;
|
||||
@state() public agentInterface?: AgentInterface;
|
||||
@state() public artifactsPanel?: ArtifactsPanel;
|
||||
@state() private hasArtifacts = false;
|
||||
@state() private artifactCount = 0;
|
||||
@state() private showArtifactsPanel = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue