Configure all agents for local inference via festinger
- All agents now use lm_studio provider → http://festinger:11434 - ctx_length set to 32768 for Omega13 (128GB RAM); reduce for smaller machines - Model: qwen2.5-7b-instruct (update to larger model on Omega13) - Each agent has a unique A0_PERSISTENT_RUNTIME_ID for stable mcp_server_token - agent_profile=agent0 and mcp_server_enabled=true set in all settings.json - agents/agent0/prompts/ placeholder created for pull-on-start persona override - pull-agent-identity.py now writes to usr/agents/agent0/prompts/ (correct override path) - festinger: agent_frameworks table auto-seeded on startup with all 5 agents - festinger: num_ctx injection, agent_frameworks CRUD + admin UI, /chat endpoint - festinger: removed debug system_prompt logging Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -98,9 +98,10 @@ def build_identity_markdown(a):
|
||||
# ── Write agent-type-specific files ──────────────────────────────────────────
|
||||
|
||||
if AGENT_TYPE == 'agent0':
|
||||
# Agent Zero reads /a0/usr/prompts/agent.system.main.role.md as the role
|
||||
# system prompt, overriding its built-in "I am Agent Zero" personality.
|
||||
prompts_dir = '/a0/usr/prompts'
|
||||
# Agent Zero uses profile 'agent0' which resolves prompts from usr/agents/agent0/prompts/
|
||||
# before falling back to usr/prompts/ or the built-in agents/agent0/prompts/.
|
||||
# Writing here ensures our identity overrides the default "I am Agent Zero" role.
|
||||
prompts_dir = '/a0/usr/agents/agent0/prompts'
|
||||
prompt_file = os.path.join(prompts_dir, 'agent.system.main.role.md')
|
||||
os.makedirs(prompts_dir, exist_ok=True)
|
||||
content = build_identity_markdown(agent)
|
||||
|
||||
Reference in New Issue
Block a user