Commit graph

171 commits

Author SHA1 Message Date
Mic
9d032ee54f the user can select a part of the response in the api webchat. fixes #356 2025-05-23 00:06:00 +02:00
mic
07957d62c7 Fix message formatting to display line breaks correctly in the messages area 2025-05-21 21:55:19 +02:00
mic
95f6c0e40f Add API connection messages and refactor initialization logging 2025-05-21 21:49:33 +02:00
mic
eff4c3f0da using anthropic in the api webchat. see #349 2025-05-20 23:07:40 +02:00
mic
59ae3643a5 Ported all the mods from v3.3.* into v3.4.0 2025-05-01 23:32:52 +02:00
Mic
f742f0460a remove debug console logs from mzta-custom-prompts.js and mzta-popup.js 2025-04-28 21:08:00 +02:00
mic
0214885a9f commented out debug console logs for Intl.Segmenter in tb115_loader.js and messagesArea.js 2025-04-27 21:33:30 +02:00
Mic
377fc67a18 Add ollama_num_ctx support in API and worker initialization. see #351 2025-04-22 00:11:00 +02:00
mic
d49e6d65e7 a "do_reply" from the compose window is changed in a "substitute text". see #353 2025-04-20 22:15:10 +02:00
Mic
dc0d4339fb improved the additional text form when using an API connection. fixes #97 2025-04-16 00:11:00 +02:00
mic
93e42d1038 removing duplicate i18n string 2025-03-23 21:55:51 +01:00
mic
627c71e62d hardcoded strings are now available for translation. fixes #298 2025-03-22 22:27:49 +01:00
mic
11c84d463f Disable diff viewer button after displaying the diff. see #109 2025-03-22 22:16:21 +01:00
mic
bebbfdd74c Add dark mode styles for added and removed message highlights. see #109 2025-03-22 17:42:23 +01:00
mic
7c606bcb71 Update diff viewer to use body text as fallback for original text. see #109 2025-03-22 17:17:17 +01:00
Mic
928946dfdf Add diff viewer functionality for APIs integrations. see #109 2025-03-21 00:22:00 +01:00
mic
3b538050b6 copyright year updated 2025-01-10 21:21:37 +01:00
mic
a049fb59db using chatgpt_developer_messages option. fixes #218 2025-01-07 21:31:15 +01:00
mic
1d063235fd google gemini, using system instruction 2025-01-06 22:19:07 +01:00
mic
3073cf69a3 first working version of the google gemini api. see #204 2025-01-06 00:21:58 +01:00
mic
11cd0e6b66 correctly using this.llmName 2025-01-05 23:52:24 +01:00
mic
36c8e3054e workers moved in their folder 2024-12-11 22:28:09 +01:00
mic
4d49d080cd correctly showing error messages from the chatgpt api. fixes #191 2024-12-06 21:33:20 +01:00
Mic
863ce095f8
Merge branch 'main' into v2.3.0 2024-10-23 22:33:34 +02:00
mic
abf7e163c9 typos fixed. #170 2024-10-21 22:51:46 +02:00
mic
1d718b3797 additional_text implemented for api calls. see #153 2024-10-15 23:43:13 +02:00
mic
80eecda550 error handling improved in all APIs 2024-10-15 17:08:33 +02:00
mic
9fe528d6c8 openai_comp_use_v1 pref added 2024-10-15 17:06:30 +02:00
mic
66ba79833a ported new chat window messaging code from branch issue_143. see #143 2024-10-04 21:16:53 +02:00
mic
4f80aa888b test method removed 2024-10-04 21:08:37 +02:00
mic
70ea3c39bb broken chunk handling improved see #147 2024-10-03 21:58:19 +02:00
mic
53e6a408ea using taLog 2024-10-03 21:31:50 +02:00
mic
8880c03592 using taLog 2024-10-03 21:27:49 +02:00
mic
d79f3f880c using taLogger in openai worker 2024-10-03 21:22:54 +02:00
mic
317ed04077 passing do_debug value to workers 2024-10-03 21:21:58 +02:00
mic
fd51132edf managing broken chunck. see #147 2024-10-03 21:06:49 +02:00
mic
f9832a1860 uising the optional api key in the openai comp api see #144 2024-10-01 22:44:24 +02:00
Mic
79584b3187 wrong var fixed 2024-09-13 19:48:13 +02:00
mic
cb942eb03c fixed openai_comp_chat_name pref name 2024-09-12 21:45:04 +02:00
mic
f34c3ef788 the controller is using the new model worker. see #126 2024-09-12 21:44:22 +02:00
mic
be550e9f7c openai comp model worker added. see #126 2024-09-12 21:38:44 +02:00
mic
ddf164f1c2 api chat window status message colors fixed for light theme 2024-09-05 22:00:50 +02:00
mic
053fb9c541 added double wuotes to model and host in che connection message of the APIs 2024-08-28 22:00:56 +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
c104edbf93 new internal communication system for openai api 2024-08-23 14:03:25 +02:00
Mic
9698eb1d01 new internal messaging method in the ollama api call 2024-08-23 13:52:48 +02:00
mic
0d572a79ef added a status message. fixes #119 2024-08-22 23:51:18 +02:00
mic
a514e41137 ollama api: showing an error when connection is interrupted. fixes #114 2024-08-22 23:07:32 +02:00
mic
c66927f472 really closing the connection to the server when stopped by the user. 2024-08-22 22:42:02 +02:00
mic
5dfd5925b0 no more quirks warning on api web chat 2024-08-22 22:28:43 +02:00
mic
dc98f90548 enabling send button after an error 2024-08-21 15:37:11 +02:00
mic
4f317fb088 improved dark color scheme for api webchat 2024-08-21 15:25:02 +02:00
mic
4eba5a0eaf stop button added. see #113. some info about the model are now dinamic 2024-08-20 23:52:35 +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
082ef41840 fixed error handling 2024-08-20 18:16:36 +02:00
mic
5906082b9f model-worker.js renamed to model-worler-openai.js see #79 2024-08-20 17:54:06 +02:00
mic
d7262a2520 renamed the action from chatgpt_send to api_send when using an API. see #79 2024-08-20 17:50:58 +02:00
mic
19342cbced removed chatgpt web fallback, added error messages. fixes #111 2024-08-20 15:00:55 +02:00
mic
06b5e6e939 comment removed 2024-08-20 14:50:23 +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
085173d322 improved scrollbar behaviour. see #108 2024-08-16 14:40:10 +02:00
mic
1f3d974ada scrollbar added. fixes #108 2024-08-16 14:21:52 +02:00
mic
f8bc7b00ac console.log statement temporary commented out, wating for #106 2024-08-16 00:17:01 +02:00
mic
76f372ef8c typo fixed 2024-08-14 22:32:59 +02:00
mic
ff1c7b1fc1 [OpenAPI] stripping double quotes at the beginning and the end of the response. fixes #99 2024-08-14 22:14:39 +02:00
mic
f8a8413955 correctly checking do_custom_text. see #96 2024-07-30 21:50:15 +02:00
mic
4fdd7d3dc2 asking for custom text using the javascript prompt() function. fixes #96. To be improved. 2024-07-30 21:48:43 +02:00
mic
9bff8a0358 chatgpt api prefs renamed 2024-07-29 23:35:10 +02:00
mic
8f89b3beaf connecting message added to i18n en 2024-07-29 23:30:55 +02:00
mic
2aa2f1459f logging full html response 2024-07-29 23:27:57 +02:00
mic
3e06b683da correctly handling multiple answers 2024-07-29 23:24:45 +02:00
mic
2646009826 prevent to send empty messages 2024-07-29 23:18:56 +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
5b4cd31152 commented out mock functions 2024-07-29 22:54:00 +02:00
mic
ebfd1f08c8 darkmode added. fixes #91 2024-07-28 23:18:39 +02:00
mic
84a18f873b added test vars to check the page in a browser 2024-07-28 21:56:30 +02:00
mic
918425cebe modified sendbutton border 2024-07-28 21:54:50 +02:00
mic
9d7998dde5 improvig chat grafic. see #95 2024-07-27 15:12:13 +02:00
mic
1035d22a25 changed message title in case of an error 2024-07-27 15:08:15 +02:00
mic
5e4df1756f added type to appendUserMessage 2024-07-27 14:59:50 +02:00
mic
1c098faeef using info type 2024-07-27 14:59:21 +02:00
mic
08d38e90b0 added type to appendBotMessage 2024-07-27 14:55:25 +02:00
mic
6713703964 using message type 2024-07-27 14:55:07 +02:00
mic
94e5398b02 added close button. improved action buttons 2024-07-22 00:13:01 +02:00
mic
5b6b200af0 improved error log text 2024-07-21 23:52:21 +02:00
mic
26aa9b0092 correctly replying and substituting text 2024-07-21 23:47:05 +02:00
mic
6d9bb7cf7c corretly handling input state 2024-07-21 23:15:05 +02:00
mic
4c529df6f2 response header changed to ChatGPT 2024-07-21 23:06:24 +02:00
mic
4562533619 promptData correctly inizialized 2024-07-21 23:03:52 +02:00
mic
a8f8a7e33a sending full promptData to the frontend 2024-07-21 23:01:53 +02:00
mic
9307c4742e empty prefs_api_key for testing 2024-07-21 22:53:14 +02:00
mic
98bed310ec enabling the send button after the full response 2024-07-21 22:51:10 +02:00
mic
b8353f78ce typo fixed 2024-07-21 22:50:15 +02:00
mic
da4da31e6c css margins fixed 2024-07-21 22:48:42 +02:00
mic
e7332225ff adding action button after response and collecting the full html response in a var 2024-07-21 22:43:28 +02:00
mic
3e96681d03 not using innerhtml in flushAccumulatingMessage 2024-07-21 22:12:18 +02:00