Feat: read_url for /completion

This commit is contained in:
Grail Finder
2025-12-10 13:54:58 +03:00
parent 91bb6aab2b
commit be3e3d4c60
2 changed files with 8 additions and 3 deletions

View File

@@ -53,6 +53,11 @@ Your current tools:
"when_to_use": "when asked to search the web for information; limit is optional (default 3)" "when_to_use": "when asked to search the web for information; limit is optional (default 3)"
}, },
{ {
"name":"read_url",
"args": ["url"],
"when_to_use": "when asked to get content for spicific webpage or url"
},
{
"name":"file_create", "name":"file_create",
"args": ["path", "content"], "args": ["path", "content"],
"when_to_use": "when asked to create a new file with optional content" "when_to_use": "when asked to create a new file with optional content"

4
tui.go
View File

@@ -59,7 +59,6 @@ var (
[yellow]F2[white]: regen last [yellow]F2[white]: regen last
[yellow]F3[white]: delete last msg [yellow]F3[white]: delete last msg
[yellow]F4[white]: edit msg [yellow]F4[white]: edit msg
[yellow]Alt+4[white]: edit msg role
[yellow]F5[white]: toggle fullscreen for input/chat window [yellow]F5[white]: toggle fullscreen for input/chat window
[yellow]F6[white]: interrupt bot resp [yellow]F6[white]: interrupt bot resp
[yellow]F7[white]: copy last msg to clipboard (linux xclip) [yellow]F7[white]: copy last msg to clipboard (linux xclip)
@@ -86,8 +85,9 @@ var (
[yellow]Ctrl+y[white]: list loaded RAG files (view and manage loaded files) [yellow]Ctrl+y[white]: list loaded RAG files (view and manage loaded files)
[yellow]Ctrl+q[white]: cycle through mentioned chars in chat, to pick persona to send next msg as [yellow]Ctrl+q[white]: cycle through mentioned chars in chat, to pick persona to send next msg as
[yellow]Ctrl+x[white]: cycle through mentioned chars in chat, to pick persona to send next msg as (for llm) [yellow]Ctrl+x[white]: cycle through mentioned chars in chat, to pick persona to send next msg as (for llm)
[yellow]Alt+5[white]: toggle system and tool messages display
[yellow]Alt+1[white]: toggle shell mode (execute commands locally) [yellow]Alt+1[white]: toggle shell mode (execute commands locally)
[yellow]Alt+4[white]: edit msg role
[yellow]Alt+5[white]: toggle system and tool messages display
=== scrolling chat window (some keys similar to vim) === === scrolling chat window (some keys similar to vim) ===
[yellow]arrows up/down and j/k[white]: scroll up and down [yellow]arrows up/down and j/k[white]: scroll up and down