Add Android forensics, IOC threat-intel DB, Compose companion; scrub secrets from configs
This commit is contained in:
@@ -405,10 +405,18 @@ class AutonomyDaemon:
|
||||
return
|
||||
|
||||
try:
|
||||
# Read step limit from config based on the active LLM backend
|
||||
from core.config import Config
|
||||
cfg = Config()
|
||||
backend = cfg.get('autarch', 'llm_backend', fallback='local')
|
||||
step_key = f'{backend}_max_steps'
|
||||
agent_settings = cfg.get_agent_settings()
|
||||
max_steps = agent_settings.get(step_key, agent_settings.get('local_max_steps', 200))
|
||||
|
||||
agent = Agent(
|
||||
llm=llm_inst,
|
||||
tools=get_tool_registry(),
|
||||
max_steps=15,
|
||||
max_steps=max_steps,
|
||||
verbose=False,
|
||||
)
|
||||
result = agent.run(task)
|
||||
|
||||
Reference in New Issue
Block a user