webchat: hide model selector in embedded UI
This commit is contained in:
@@ -53,7 +53,8 @@ let ChatPanel = class ChatPanel extends LitElement {
|
||||
this.agentInterface = document.createElement("agent-interface");
|
||||
this.agentInterface.session = agent;
|
||||
this.agentInterface.enableAttachments = true;
|
||||
this.agentInterface.enableModelSelector = true;
|
||||
// Hide model selector in the embedded chat; use fixed model configured at bootstrap.
|
||||
this.agentInterface.enableModelSelector = false;
|
||||
this.agentInterface.enableThinkingSelector = true;
|
||||
this.agentInterface.showThemeToggle = false;
|
||||
this.agentInterface.onApiKeyRequired = config?.onApiKeyRequired;
|
||||
@@ -190,4 +191,4 @@ ChatPanel = __decorate([
|
||||
customElement("pi-chat-panel")
|
||||
], ChatPanel);
|
||||
export { ChatPanel };
|
||||
//# sourceMappingURL=ChatPanel.js.map
|
||||
//# sourceMappingURL=ChatPanel.js.map
|
||||
|
||||
Reference in New Issue
Block a user