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.
Files changed (2) hide show
  1. package/docs/app.js +1 -1
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thebird",
3
- "version": "1.2.39",
3
+ "version": "1.2.40",
4
4
  "description": "Anthropic SDK to Gemini streaming bridge — drop-in proxy that translates Anthropic message format and tool calls to Google Gemini",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",