Merge branch 'main' into 2.2.0

This commit is contained in:
Mic 2024-10-07 21:26:31 +02:00 committed by GitHub
commit 332123666d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 5 deletions

View file

@ -63,7 +63,7 @@ body:
id: logs id: logs
attributes: attributes:
label: Anything in the Thunderbird console logs that might be useful? label: Anything in the Thunderbird console logs that might be useful?
description: For example, error message, or stack traces. description: For example, error message, or stack traces. Be sure to have activated the debug in the add-on preferences. Open the console using the keyboard shortcut CTRL+SHIFT+J.
render: txt render: txt
- type: textarea - type: textarea
id: additional id: additional

View file

@ -22,6 +22,10 @@
<li><i>[ChatGPT API][Ollama API][OpenAI Comp API]</i> Improved handling of streaming responses even in case of broken chunks [<a href="https://github.com/micz/ThunderAI/issues/147">#147</a>].</li> <li><i>[ChatGPT API][Ollama API][OpenAI Comp API]</i> Improved handling of streaming responses even in case of broken chunks [<a href="https://github.com/micz/ThunderAI/issues/147">#147</a>].</li>
<li>Fixed a race condition that occurred when opening the chat window under certain circumstances. Thanks to <a href="https://github.com/jobisoft" target="_blank">@jobisoft</a> for helping refine the code, and to <a href="https://github.com/Mikilio" target="_blank">@Mikilio</a> and <a href="https://github.com/mattcaron" target="_blank">@mattcaron</a> for the extensive testing [<a href="https://github.com/micz/ThunderAI/issues/143">#143</a>].</li> <li>Fixed a race condition that occurred when opening the chat window under certain circumstances. Thanks to <a href="https://github.com/jobisoft" target="_blank">@jobisoft</a> for helping refine the code, and to <a href="https://github.com/Mikilio" target="_blank">@Mikilio</a> and <a href="https://github.com/mattcaron" target="_blank">@mattcaron</a> for the extensive testing [<a href="https://github.com/micz/ThunderAI/issues/143">#143</a>].</li>
</ul> </ul>
<h2>Version 2.1.5 - 23/09/2024</h2>
<ul>
<li><i>[ChatGPT Web]</i> Working again in Thunderbird 115. Implemented a workaround for <i>Intl.Segmenter</i> [<a href="https://github.com/micz/ThunderAI/issues/139">#139</a>].</li>
</ul>
<h2>Version 2.1.4 - 11/09/2024</h2> <h2>Version 2.1.4 - 11/09/2024</h2>
<ul> <ul>
<li><i>[ChatGPT API][Ollama API]</i> Fixed the colors of the light theme in the chat window status logger.</li> <li><i>[ChatGPT API][Ollama API]</i> Fixed the colors of the light theme in the chat window status logger.</li>

View file

@ -22,7 +22,7 @@ console.log("[ThunderAI] Intl.Segmenter: " + Intl.Segmenter);
(function() { (function() {
if('Segmenter' in Intl){ if('Segmenter' in Intl){
console.log('[ThunderAI] TB128+ detected. Intl.Segmenter is already supported.'); // console.log('[ThunderAI] TB128+ detected. Intl.Segmenter is already supported.');
return; return;
} }
// Creates a <script> element to inject polyfill.js into the page context // Creates a <script> element to inject polyfill.js into the page context

View file

@ -41,8 +41,9 @@
} }
Intl.Segmenter = Segmenter; Intl.Segmenter = Segmenter;
console.log('Intl.Segmenter polyfill correctly loaded.'); // console.log('Intl.Segmenter polyfill correctly loaded.');
} else {
console.log('Intl.Segmenter is already supported.');
} }
// else {
// console.log('Intl.Segmenter is already supported.');
// }
})(); })();

View file

@ -23,6 +23,9 @@
<li><i>[Ollama API]</i> Added a link to the <a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">CORS information page</a>.</li> <li><i>[Ollama API]</i> Added a link to the <a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">CORS information page</a>.</li>
<li><i>[ChatGPT API][Ollama API][OpenAI Comp API]</i> Improved handling of streaming responses even in case of broken chunks [<a href="https://github.com/micz/ThunderAI/issues/147">#147</a>].</li> <li><i>[ChatGPT API][Ollama API][OpenAI Comp API]</i> Improved handling of streaming responses even in case of broken chunks [<a href="https://github.com/micz/ThunderAI/issues/147">#147</a>].</li>
<li>Fixed a race condition that occurred when opening the chat window under certain circumstances. Thanks to <a href="https://github.com/jobisoft" target="_blank">@jobisoft</a> for helping refine the code, and to <a href="https://github.com/Mikilio" target="_blank">@Mikilio</a> and <a href="https://github.com/mattcaron" target="_blank">@mattcaron</a> for the extensive testing [<a href="https://github.com/micz/ThunderAI/issues/143">#143</a>].</li> <li>Fixed a race condition that occurred when opening the chat window under certain circumstances. Thanks to <a href="https://github.com/jobisoft" target="_blank">@jobisoft</a> for helping refine the code, and to <a href="https://github.com/Mikilio" target="_blank">@Mikilio</a> and <a href="https://github.com/mattcaron" target="_blank">@mattcaron</a> for the extensive testing [<a href="https://github.com/micz/ThunderAI/issues/143">#143</a>].</li>
<h2>Version 2.1.5 - 23/09/2024</h2>
<ul>
<li><i>[ChatGPT Web]</i> Working again in Thunderbird 115. Implemented a workaround for <i>Intl.Segmenter</i> [<a href="https://github.com/micz/ThunderAI/issues/139">#139</a>].</li>
</ul> </ul>
<h2>Version 2.1.4 - 11/09/2024</h2> <h2>Version 2.1.4 - 11/09/2024</h2>
<ul> <ul>