develop #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Add app/api/routes/agents.py with 11 endpoints: GET/POST/PUT/DELETE /agents/local (local directory agent configs) GET/POST/PUT/DELETE /agents/cloud (cloud connector agent configs) GET /agents/catalog (hardcoded agent type catalog) GET /agents/runs (paginated run logs with agent_id/page/limit filters) POST /agents/{id}/run (manual trigger stub, dispatch wired in step 3.4) - Tier-gate creation via combined local+cloud batch_active limit - Ownership checks on all mutations (404 on mismatch) - Cascade delete of run logs via SQLAlchemy relationship - Register agents router in app/main.py - Fix missing import json in app/agents/task_agent.pyLangfuse uses {{variable}} syntax in its prompt management UI, while the hardcoded fallbacks use {variable} (Python str.format). The previous code always called .format() which silently failed/errored when a real Langfuse prompt was fetched. - langfuse_client.py: add compile_prompt(template, prompt_obj, **vars) → uses prompt_obj.compile(**vars) when Langfuse is available → falls back to template.format(**vars) when using the hardcoded fallback - agent_runner.py: replace .format() with compile_prompt() for unified_processing (V2 local) and batch_cloud_processing (cloud agent) - agent_setup.py: replace .format() with compile_prompt() for journey_system deep_agent.py prompts have no variables, so no change needed there. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>GET /auth/oauth/{provider}/web-callback receives the Google redirect and bounces immediately to adiuvai://oauth/callback deep link. Google Cloud Console only accepts http/https redirect URIs — adiuvai:// is not valid. Default OAUTH_REDIRECT_URI now points to localhost:8000 for dev; override with the API domain env var in production. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>relationaltier (Mem0g-light) 341ee140e5Pre-flight quota check for folder_index. Returns 402 with reason when file cap or monthly token budget would be exceeded; 200 {"ok": true} otherwise. Also adds auth_headers_free fixture to conftest. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>Use _build_system_prompt helper so the contextual agent gets the same system-prompt slots as home/floating runners — most importantly {date_context} so the agent can reason about due dates when creating/updating tasks. Also makes the session_id contract on run_contextual_stream explicit (was reading via context['_debug']) and tightens the tool-list test.