Commit graph

116 commits

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