Commit graph

212 commits

Author SHA1 Message Date
mic
9bbf795709 storage space occupied added. see #129 2024-09-13 21:26:30 +02:00
mic
2aa692c872 prompts are now working from local storage. see #129 2024-09-13 21:05:35 +02:00
mic
4ee62a04db store sync -> local migration methods added. see #129 2024-09-13 21:04:40 +02:00
Mic
a1ecbc84e8 models filtering removed 2024-09-13 19:48:40 +02:00
mic
f67125a696 removed the chatgpt web interface check for model 4 or 3.5 2024-09-12 22:09:06 +02:00
mic
b5adc964a8 OpenAIComp class added. See #126 2024-09-12 20:57:27 +02:00
mic
b0406f2ae4 fixed a change in cahtgpt web interface. see #133 2024-09-11 20:19:55 +02:00
Mic
6e3377a301 removed the link to status page as requested by the TB Addon Reviewer. Reverts #123 2024-09-05 18:00:45 +02:00
Mic
fcc66f943d new way of opening the chatgpt web interface window. some other improvments in the chatgpt interface. see #122 2024-09-04 20:37:34 +02:00
Mic
24e9400350 default length added to generateCallID 2024-09-04 20:35:58 +02:00
mic
319f289b84 if the chatgpt web interface loads slowly, show abutton to retry sending the prompt. see #122 2024-09-03 22:09:00 +02:00
mic
6b0c2ee360 fixed the url in chatgpt web interface messages. fixes #123 2024-09-03 21:43:58 +02:00
mic
612c0e72d1 fixed arguments for windows.remove in chatgpt web interface 2024-08-28 22:08:23 +02:00
Mic
e4bfbcf0ea
Merge branch 'main' into 2.1.0 2024-08-28 21:48:44 +02:00
Mic
eabb4b1370
Merge pull request #120 from micz/new_internal_msg_system
New internal msg system between the background script and the chat windows
2024-08-23 14:39:22 +02:00
mic
47a4a8c5bc correctly closing the window 2024-08-23 14:36:48 +02:00
mic
b9ad4a4937 export fixed 2024-08-23 14:13:09 +02:00
Mic
25b84ba8b2 generateCallID method added 2024-08-23 13:52:22 +02:00
mic
9fa8bc50c4 changeDebug method added. see #115 2024-08-22 22:29:58 +02:00
mic
a07d1cdd73 chatgpt web - fixed aouto sending the prompt 2024-08-21 14:56:38 +02:00
mic
4db9f0c8a5 ollama api is working. see #79 2024-08-20 22:51:48 +02:00
mic
e2aa598f01 ollama_api: first version with a working ollama call! see #79 2024-08-20 18:35:37 +02:00
mic
969dbb1127 ollama_api: getting models list. see #79 2024-08-20 17:42:04 +02:00
mic
470d326826 openai_api - improved error messages in case of connection errors. 2024-08-20 14:43:22 +02:00
mic
b0fdaf7037 improved async in closing chat windows. fixes #110 2024-08-20 14:41:11 +02:00
mic
dd2e084bb4 some fixes ported from 2.0.6 2024-08-19 23:58:33 +02:00
mic
5fe74083ea Improved the internal messaging in closing che chatgpt web and api windows 2024-08-19 23:47:55 +02:00
mic
41d3c167b6 removed useless param from methods 2024-08-19 17:45:27 +02:00
mic
48ceea085d always logging errors and warnings 2024-08-19 17:44:57 +02:00
mic
a25df4281e added a logger class 2024-08-19 17:29:48 +02:00
mic
fa6127bcae console.log statement temporary commented out, wating for #106 2024-08-16 00:15:09 +02:00
mic
4c7d9aced9 the selection helper is not selecting in our bottom div, but only in the chatgpt part of the window. see #104 2024-08-15 00:28:47 +02:00
mic
e58628c30e fixed the completed message. see #104 2024-08-15 00:11:47 +02:00
mic
d5344af04f the selection helper is active only when needed. see #104 2024-08-15 00:08:18 +02:00
mic
11d42b7e3f added an helper to select an asnwer with a single click. see #104 2024-08-15 00:00:45 +02:00
mic
ea8c2975d6 disablign the button only when needed. see #104 2024-08-14 23:06:19 +02:00
mic
31d3804ad1 disabling button when replying if nothing is selected. added a message. see #104 2024-08-14 23:02:49 +02:00
mic
717bade1a5 better error message when fetching models 2024-08-14 21:49:39 +02:00
mic
ecf4a7a167 getting the model from the options. added a tolltip to the send button to show the used model 2024-07-29 23:12:47 +02:00
mic
acb1dd8629 reverting a test mod wrongly commited 2024-07-26 22:28:49 +02:00
mic
96983ecba6 fetchModels logging on console as an error on error 2024-07-26 22:25:39 +02:00
mic
36158e3e3a fetchModels returns false on error 2024-07-26 22:25:15 +02:00
mic
59ec47b2e8 fetchModels ouput are only the gpt- models ordered by id desc 2024-07-22 23:35:54 +02:00
mic
c538388279 added countTokensUsingAPI method 2024-07-21 21:01:54 +02:00
mic
37ec6ca76a handling error messages from the ChatGPT API 2024-07-21 16:49:36 +02:00
mic
ee2540a8c8 correctly using openai api class in the webworker 2024-07-21 15:25:07 +02:00
mic
e81dbf3d72 added a first version of the OpenAI API class 2024-07-20 23:06:38 +02:00
mic
c02558be9e Added a warning message closing the Custom Prompts page with unsaved changes.fixes #88 2024-07-20 00:02:39 +02:00
mic
eaa1668eae improved the "same language" statement. 2024-07-19 22:18:30 +02:00
mic
7aeb92e6e3 using the define_response_lang property. fixes #86 2024-07-19 22:17:59 +02:00
mic
efb4c61b6b define_response_lang properties added to default prompts. see #86 2024-07-19 21:54:19 +02:00
mic
7323a9fe6f fixed the plain text import. fixes #87 2024-07-19 21:50:11 +02:00
mic
011076d96b fixed getting response in plaintext. see #87 2024-07-19 21:30:12 +02:00
mic
dc2f581c7e showing the current prompt name in the chatgpt window. fixes #20 2024-07-16 22:50:00 +02:00
mic
e899d76f69 i18nConditionalGet method added. see #20 2024-07-16 22:42:39 +02:00
mic
29f6c07229 sorting prompts on import. see #65 2024-07-16 18:21:22 +02:00
mic
b15616b5d7 deleting idnum property on export. see #65 2024-07-16 18:18:47 +02:00
mic
47dbf0c808 method preparePromptsForImport added. see #65 2024-07-16 00:11:21 +02:00
mic
bca4640cf5 using the current lang when translating if no lang is set. see #53. to be improved in #6 2024-07-15 00:00:38 +02:00
mic
81ae49ba23 the default lang is set to empty string to use the used in the email. fixes #53 2024-07-14 23:54:46 +02:00
mic
4d9329ae22 we need also the id in the preparePromptsForExport method 2024-07-14 23:23:08 +02:00
mic
7c35a33a1c added preparePromptsForExport method 2024-07-14 23:21:08 +02:00
mic
49d52abac8 correctly working with plain text response. really fixing #77 2024-06-27 21:18:00 +02:00
Mic
141e236923 using chatgpt_keep_formatting. fixes #77 2024-06-27 18:27:41 +02:00
mic
7f0a50be42 correctly preservig formatting. see #70 2024-06-26 22:22:57 +02:00
mic
d71301f9e1 working on fixing #70 2024-06-25 22:59:28 +02:00
mic
caa2f0603c keeping the format from the chatgpt response. see #70 2024-06-19 21:51:44 +02:00
mic
f43200370e iteration only on first level childNodes 2024-06-18 23:41:53 +02:00
mic
129b2998fc insertText renamed to insertHtml is now inserting Html elements instead of plain text 2024-06-18 23:07:57 +02:00
mic
8b01b2fa7f removed debug console.log 2024-06-18 22:08:16 +02:00
mic
2e076d7b7b removed makeParagraphs, using an html string directly 2024-06-18 21:57:01 +02:00
mic
0daeded711 chatgpt_getFromDOM returns an HTML string for the last answer 2024-06-18 21:56:34 +02:00
mic
639fe495a7 replying to the right message. fixes #71 2024-06-18 21:08:03 +02:00
mic
2e6fa9f86a comment translated in english 2024-06-18 20:03:10 +02:00
mic
6cdfd1489f micz.it url link typo fixed 2024-05-28 18:44:32 +02:00
mic
feaba4d4e4 using more textContent instead of innerHTML 2024-05-23 20:32:58 +02:00
mic
2a21e18d61 using textContent instead of innerHTML for CSS as for ATN reviewer suggestion 2024-05-22 21:17:30 +02:00
Mic
1cae90b843
Merge branch 'main' into new_1.1 2024-05-21 21:24:40 +02:00
mic
e09a25b4ef imported all fixes from main. fixes #55 2024-05-17 23:05:19 +02:00
mic
83f570feaa log desc improved. fixes #63 2024-05-17 22:46:11 +02:00
mic
2af0816f66 send button query improved. ported from 1.0.10 2024-05-17 19:10:58 +02:00
mic
016779faf8 polished send button query 2024-05-17 19:02:47 +02:00
mic
f66055b0c5 using the new endpoint chatgpt.com 2024-05-17 19:00:38 +02:00
mic
d527c8d187 commented out some debug console.log statement 2024-05-16 22:33:18 +02:00
mic
b685010ca7 Improved handling of different versions of the ChatGPT web interface 2024-05-16 22:18:42 +02:00
Mic
e9cb2fedeb ordering prompts in the menu: first the default prompts, then the custom in alphabetical order by "name" 2024-05-15 23:18:47 +02:00
Mic
1a10382053 better var naming 2024-05-15 23:12:32 +02:00
Mic
e256131d82 fixed a typo in a comment 2024-05-15 23:02:00 +02:00
Mic
fc14199a48 chatgpt url updated 2024-05-15 22:55:21 +02:00
Mic
e27b1675e7 added messges for sendbutton or textarea not found. fixes #58 #59 #61 2024-05-15 22:40:41 +02:00
Mic
5229eab6fe ported v108 fixes 2024-05-15 22:13:19 +02:00
Mic
dfe3fd98f6 using the right action button. fixes #56 2024-05-15 22:10:34 +02:00
Mic
86d8c5044a stripping ChatGPT in front of the response. Fixes #60 2024-05-15 19:22:45 +02:00
Mic
9b7f46c8b0 send button query fixed 2024-05-15 19:21:41 +02:00
Mic
a19bc59a2c handling model 4o. fixes #62 2024-05-15 19:20:46 +02:00
mic
7ae17e29a5 Imported .diff from v105 to v106 2024-05-14 18:39:12 +02:00
mic
6818414184 fixed correct reloading of the listener. see #12 2024-05-14 17:48:40 +02:00
mic
e2c99e5b3e better handling of default prompt in case of future new prompts added. see #12 2024-05-14 17:48:01 +02:00
mic
cd4c08739b resolver error in reloading menus. fixes #51 2024-05-14 08:26:42 +02:00
mic
5ee8280e3e trying to fix the error in reloading menu 2024-05-13 23:18:50 +02:00