Skip to content

Your lightweight open-source personal agent.

Merge remote-tracking branch 'origin/main' into pr-2449

Xubin Renc9d4b7b90513
diff --cc nanobot/cli/commands.py
index 25f64137f,ca26cbf37..29eb19c31
--- a/nanobot/cli/commands.py
+++ b/nanobot/cli/commands.py
@@@ -426,9 -421,11 +432,12 @@@ def _make_provider(config: Config)
api_base=p.api_base,
default_model=model,
)
+ elif backend == "github_copilot":
+ from nanobot.providers.github_copilot_provider import GitHubCopilotProvider
+ provider = GitHubCopilotProvider(default_model=model)
elif backend == "anthropic":
from nanobot.providers.anthropic_provider import AnthropicProvider
+
provider = AnthropicProvider(
api_key=p.api_key if p else None,
api_base=config.get_api_base(model),
diff --cc nanobot/templates/agent/evaluator.md
index 000000000,305e4f8d0..51cf7a4e4
mode 000000,100644..100644
--- a/nanobot/templates/agent/evaluator.md
+++ b/nanobot/templates/agent/evaluator.md
@@@ -1,0 -1,13 +1,15 @@@
+ {% if part == 'system' %}
+ You are a notification gate for a background agent. You will be given the original task and the agent's response. Call the evaluate_notification tool to decide whether the user should be notified.
+
-Notify when the response contains actionable information, errors, completed deliverables, or anything the user explicitly asked to be reminded about.
++Notify when the response contains actionable information, errors, completed deliverables, scheduled reminder/timer completions, or anything the user explicitly asked to be reminded about.
++
++A user-scheduled reminder should usually notify even when the response is brief or mostly repeats the original reminder.
+
+ Suppress when the response is a routine status check with nothing new, a confirmation that everything is normal, or essentially empty.
+ {% elif part == 'user' %}
+ ## Original task
+ {{ task_context }}
+
+ ## Agent response
+ {{ response }}
+ {% endif %}