Commit graph

505 commits

Author SHA1 Message Date
buzz-lightsnack-2007
137d57a408 add autoupdater 2024-04-13 23:33:07 +08:00
buzz-lightsnack-2007
02d0b97aa7 use the synchronized filter list to trigger an update, not the local one 2024-04-13 23:27:02 +08:00
buzz-lightsnack-2007
f2e9869965 put queue in another module instead
for future reusability
2024-04-13 23:24:08 +08:00
buzz-lightsnack-2007
9ee327c90b remove unused line 2024-04-13 21:14:21 +08:00
buzz-lightsnack-2007
902da8f8fc address parsing of product
Google Gemini always wants to return in MarkDown, so let's fix that.
2024-04-13 21:14:14 +08:00
buzz-lightsnack-2007
4e05c31dd0 modify system prompt to remind gemini-vision-pro to read the images 2024-04-13 20:57:08 +08:00
buzz-lightsnack-2007
586578fe45 Include AI system prompt and analyzer function 2024-04-11 18:39:52 +08:00
buzz-lightsnack-2007
bad5ea8c1a Add AI system prompt 2024-04-11 18:38:57 +08:00
buzzcode2007
809c5ac093 add analyzer function 2024-04-11 17:50:15 +08:00
buzzcode2007
c063a21530 add message when API keys are missing 2024-04-11 17:20:34 +08:00
buzzcode2007
a6d894026f rewrite the request location 2024-04-11 17:04:59 +08:00
buzzcode2007
563d6243e5 add product saving feature
Require attachment prior to saving
2024-04-11 16:56:55 +08:00
buzzcode2007
c2f5daac98 change update interval checking method 2024-04-11 16:55:35 +08:00
buzzcode2007
a0f8a7b0b3 add storage not attached localization 2024-04-11 16:25:58 +08:00
buzzcode2007
2ab50d57f6 make sure to accept "false" values 2024-04-11 16:13:39 +08:00
buzzcode2007
3511e62e01 Merge branch 'development-ai' into development 2024-04-11 16:06:16 +08:00
buzzcode2007
39f537858f Temporarily efficient way to forget that memory
remove incorrect importation method
2024-04-11 16:02:34 +08:00
H. Saw
0ae1a831f8 create product analyzer function 2024-04-11 06:36:25 +00:00
H. Saw
33f13a237a add API version flag
I'm not sure what exactly is the name of that thing (the one with v1beta).
2024-04-11 06:35:25 +00:00
H. Saw
9f5dc33ce8 relocate AI scripts to a dedicated folder 2024-04-11 06:09:11 +00:00
H. Saw
78e0eb503c ignore test scripts 2024-04-11 06:08:54 +00:00
buzz-lightsnack-2007
b031e842e1 fix material design and add spaces to .input-fields. 2024-04-10 23:32:05 +08:00
buzz-lightsnack-2007
e916257250 prevent excessively setting CONTAINER's disabled state 2024-04-10 23:24:42 +08:00
buzz-lightsnack-2007
1a16ce8925 replace the search text with an icon
But move it in the tooltip
2024-04-10 23:16:25 +08:00
buzz-lightsnack-2007
0c07d26983 an example of how this rewrite becomes quite useful 2024-04-10 23:12:16 +08:00
buzz-lightsnack-2007
e842ad576f rewrite the forget function to allow removing a particular nested data
No need to manually look through everything, although that's what the extension does for now.
2024-04-10 23:11:45 +08:00
buzz-lightsnack-2007
8229db8a3a use the unofficial API for Google Gemini
Self-built from https://codeberg.org/buzzcode2007/GoogleGeminiAPI_Test/src/branch/js/gemini.js
2024-04-10 22:18:28 +08:00
buzz-lightsnack-2007
dbb8b47b38 Add a constructor to create a message.
This is similar to that run executed in .log().
2024-04-10 22:16:09 +08:00
buzz-lightsnack-2007
571dc18f34 update constructor on message initiing 2024-04-09 09:32:38 +08:00
buzz-lightsnack-2007
086ca5a8aa resolve conflict on the type 2024-04-09 09:14:12 +08:00
buzz-lightsnack-2007
887a7fc858 amendment on the data handling thingy 2024-04-09 09:09:57 +08:00
buzz-lightsnack-2007
9a9acf2440 make the imports universal 2024-04-08 23:36:44 +08:00
buzz-lightsnack-2007
75156d71da add update one function 2024-04-08 23:36:26 +08:00
buzz-lightsnack-2007
f3315b559e add keyboard shortcut and segregate the storage field 2024-04-08 23:15:24 +08:00
buzz-lightsnack-2007
b8552f88c6 patch stubborn data handling
Real fix to be done later
2024-04-08 23:06:34 +08:00
buzzcode2007
a4296b15e1 Add filter deletion functionality to settings page 2024-04-08 20:29:01 +08:00
buzzcode2007
6a5efb219d Refactor forget function to use async/await 2024-04-08 20:28:27 +08:00
buzzcode2007
921dae135b initial attempt for a removal function 2024-04-08 20:26:11 +08:00
buzzcode2007
3a49487556 moved reader to avoid re-importing per function 2024-04-08 20:24:05 +08:00
buzzcode2007
9b9a6372c6 indicate data store location for filter enabled settings 2024-04-08 20:23:38 +08:00
buzzcode2007
794a7021c9 add automatic update duration field 2024-04-08 16:08:31 +08:00
buzzcode2007
5c61411280 make writing async 2024-04-08 16:08:04 +08:00
buzzcode2007
ddce5b4320 use different method to download filters
Only the first one was previously seen.
2024-04-08 15:42:23 +08:00
buzzcode2007
20aeb7b75e Add constructor to display alerts 2024-04-08 15:41:35 +08:00
buzzcode2007
fe5437e6d3 added data storage to html 2024-04-08 15:25:01 +08:00
buzz-lightsnack-2007
7ec08003bf add the ability to select data 2024-04-08 00:23:03 +08:00
buzz-lightsnack-2007
c0dce8d9f0 add more strings for the settings page 2024-04-08 00:22:31 +08:00
buzz-lightsnack-2007
58857a2736 add textboxes for more editability of fields 2024-04-07 23:19:12 +08:00
buzz-lightsnack-2007
749fb12698 allow synchronizing the downloaded filters 2024-04-05 12:30:05 +08:00
buzzcode2007
72742a1103 fixed reference variable when displaying error messages 2024-04-05 09:50:34 +08:00