thebird 1.2.39 → 1.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/app.js +1 -1
- package/package.json +1 -1
package/docs/app.js
CHANGED
|
@@ -156,7 +156,7 @@ class BirdChat extends HTMLElement {
|
|
|
156
156
|
const text = input?.value.trim();
|
|
157
157
|
if (!text || this.state.streaming) return;
|
|
158
158
|
const { apiKey, model, providerType, baseUrl } = this.state;
|
|
159
|
-
if (!apiKey) { this.setState({ status: 'Enter an API key above.' }); return; }
|
|
159
|
+
if (!apiKey && providerType !== 'acp') { this.setState({ status: 'Enter an API key above.' }); return; }
|
|
160
160
|
input.value = '';
|
|
161
161
|
input.style.height = 'auto';
|
|
162
162
|
const messages = [...this.state.messages, { role: 'user', content: text }];
|
package/package.json
CHANGED