Commit graph

135 commits

Author SHA1 Message Date
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