Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
Merge branch 'main' into fix/config-temperature
wymcmh3e9f6d0b6b5f
diff --cc nanobot/agent/loop.pyindex b43e27d0b,5f230b7f4..775ede677--- a/nanobot/agent/loop.py+++ b/nanobot/agent/loop.py@@@ -41,7 -42,7 +42,8 @@@ class AgentLoopworkspace: Path,model: str | None = None,max_iterations: int = 20,- temperature: float = 0.7,++ temperature = 0.7+ memory_window: int = 50,brave_api_key: str | None = None,exec_config: "ExecToolConfig | None" = None,cron_service: "CronService | None" = None,@@@ -55,7 -56,7 +57,8 @@@self.workspace = workspaceself.model = model or provider.get_default_model()self.max_iterations = max_iterations+ self.temperature = temperature+ self.memory_window = memory_windowself.brave_api_key = brave_api_keyself.exec_config = exec_config or ExecToolConfig()self.cron_service = cron_servicediff --cc nanobot/cli/commands.pyindex 812fbf0de,3158d2963..26d8ce933--- a/nanobot/cli/commands.py+++ b/nanobot/cli/commands.py@@@ -323,8 -328,8 +328,9 @@@ def gatewayprovider=provider,workspace=config.workspace_path,model=config.agents.defaults.model,+ temperature=config.agents.defaults.temperature,max_iterations=config.agents.defaults.max_tool_iterations,+ memory_window=config.agents.defaults.memory_window,brave_api_key=config.tools.web.search.api_key or None,exec_config=config.tools.exec,cron_service=cron,@@@ -429,7 -434,9 +435,10 @@@ def agentbus=bus,provider=provider,workspace=config.workspace_path,+ model=config.agents.defaults.model,+ max_iterations=config.agents.defaults.max_tool_iterations,+ temperature=config.agents.defaults.temperature,+ memory_window=config.agents.defaults.memory_window,brave_api_key=config.tools.web.search.api_key or None,exec_config=config.tools.exec,restrict_to_workspace=config.tools.restrict_to_workspace,