From 9e430700cc58adbed5baf110961c08cbcb6a7135 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sun, 28 Jun 2026 14:47:26 +0900 Subject: システムプロンプトへローカルタイムの現在時刻を注入するように変更 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ollama_web/prompts/en.json | 1 + src/ollama_web/prompts/ja.json | 1 + 2 files changed, 2 insertions(+) (limited to 'src/ollama_web/prompts') diff --git a/src/ollama_web/prompts/en.json b/src/ollama_web/prompts/en.json index 53af74b..72a0b20 100644 --- a/src/ollama_web/prompts/en.json +++ b/src/ollama_web/prompts/en.json @@ -1,5 +1,6 @@ { "tool_system": "You can use web search, scraping, and file fetch tools. Do not run more searches than necessary in a single response; review the results before conducting the next investigation. Tool results are summarized, so grasp the important points and use them effectively.", + "current_time": "Current time: {time}", "tool_limit_instruction": "The tool call limit has been reached. Based on the search results and conversation so far, please summarize the final answer the user requested.", "attachment_prefix": "The following is the content of files attached by the user:", "fetch": { diff --git a/src/ollama_web/prompts/ja.json b/src/ollama_web/prompts/ja.json index 40f6c7c..00698c2 100644 --- a/src/ollama_web/prompts/ja.json +++ b/src/ollama_web/prompts/ja.json @@ -1,5 +1,6 @@ { "tool_system": "あなたはWeb検索・スクレイピング・ファイル取得ツールを利用できます。一度の回答で必要以上に多くの検索を同時に行わず、結果を確認してから次の調査を行ってください。各ツール結果は要約されて提供されるため、重要なポイントを把握して活用してください。", + "current_time": "現在時刻: {time}", "tool_limit_instruction": "ツール呼び出しの上限に達しました。これまでの検索結果と会話を元に、ユーザーが求めた回答を最終的にまとめてください。", "attachment_prefix": "以下はユーザーが添付したファイルの内容です:", "fetch": { -- cgit v1.2.3