thebird 1.2.10 → 1.2.11
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 +4 -3
- package/package.json +1 -1
package/docs/app.js
CHANGED
|
@@ -54,10 +54,11 @@ class BirdChat extends HTMLElement {
|
|
|
54
54
|
apiKey: localStorage.getItem('gemini_api_key') || '',
|
|
55
55
|
models: [], modelsLoading: false, status: '', streamingText: '',
|
|
56
56
|
};
|
|
57
|
+
const self = this;
|
|
57
58
|
window.__debug = {
|
|
58
|
-
get state() { return
|
|
59
|
-
get messages() { return
|
|
60
|
-
get models() { return
|
|
59
|
+
get state() { return self.state; },
|
|
60
|
+
get messages() { return self.state.messages; },
|
|
61
|
+
get models() { return self.state.models; },
|
|
61
62
|
};
|
|
62
63
|
}
|
|
63
64
|
|
package/package.json
CHANGED