Feat: add tools to tool map

This commit is contained in:
Grail Finder
2024-11-21 18:15:01 +03:00
parent 35340d8886
commit c35af03720
5 changed files with 130 additions and 23 deletions

View File

@@ -8,12 +8,13 @@
- edit message? (including from bot); +
- ability to copy message; +
- menu with old chats (chat files); +
- fullscreen textarea option (for long prompt);
- tab to switch selection between textview and textarea (input and chat); +
- basic tools: memorize and recall;
- stop stream from the bot; +
- sqlitedb instead of chatfiles; +
- define tools and sys prompt for them to be used;
- sqlite for the bot memory;
- fullscreen textarea option (bothersome to implement);
- option to switch between predefined sys prompts;
### FIX:
@@ -23,3 +24,6 @@
- Tab is needed to copy paste text into textarea box, use shift+tab to switch focus; (changed tp pgup) +
- delete last msg: can have unexpected behavior (deletes what appears to be two messages if last bot msg was not generated (should only delete icon in that case));
- empty input to continue bot msg gens new msg index and bot icon;
- sometimes bots put additional info around the tool call, have a regexp to match tool call;
- remove all panics from code;
- new chat is not saved in db;