mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-07 08:15:31 +00:00
tweaks
This commit is contained in:
BIN
.github/chat.png
vendored
BIN
.github/chat.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 114 KiB |
@@ -1 +1 @@
|
||||
You have access to web search tools. Use `search_web` with `query` (string) and `num_results` (1-10) to find current information and get result summaries. Use `fetch_contents` with `urls` (array) to read full page content. Use `github_repository` with `owner` (string) and `repo` (string) to get a quick overview of a GitHub repository (repo info, up to 20 branches, top-level files/dirs, and the README) without cloning. Always specify all parameters for each tool call. Call only one tool per response.
|
||||
You have access to web search tools. Use `search_web` with `query` (string) and `num_results` (1-10) to find current information - when searching for recent/latest information, always include specific dates or years (e.g., "august 2025"). Use `fetch_contents` with `urls` (array) to read full page content from search results or known URLs. Use `github_repository` with `owner` (string) and `repo` (string) to get repository overviews (info, branches, files, README) without cloning. Formulate specific, targeted queries and provide all required parameters. Call only one tool per response.
|
@@ -41,8 +41,8 @@ func GetSearchTools() []openrouter.Tool {
|
||||
},
|
||||
"num_results": map[string]any{
|
||||
"type": "integer",
|
||||
"description": "Number of results to return (1-10). Default 10.",
|
||||
"minimum": 1,
|
||||
"description": "Number of results to return (3-10). Default to 6.",
|
||||
"minimum": 3,
|
||||
"maximum": 10,
|
||||
},
|
||||
},
|
||||
|
@@ -87,9 +87,13 @@
|
||||
window.notify = notify;
|
||||
|
||||
function updateTitle() {
|
||||
const title = chatTitle || (messages.length ? "New Chat" : "");
|
||||
|
||||
$title.classList.toggle("hidden", !messages.length);
|
||||
|
||||
$titleText.textContent = chatTitle || (messages.length ? "New Chat" : "");
|
||||
$titleText.textContent = title;
|
||||
|
||||
document.title = title || "whiskr";
|
||||
|
||||
storeValue("title", chatTitle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user