cool to see subagents going!
# proj-cli
w
cool to see subagents going!
💯 1
although it looks like the agent didn't know it was limited to 5
no idea if 5 is too few relative to CC
would also be nice to see subagent progress in some capacity, dunno if CC provides that
well it was worth a shot 🙃
Copy code
Error Details:
Error validating args {"command": "delegate", "tasks": "{\"batch1\": \"Build TWO apps for the openhands-remote project at /root/git/openhands-remote. Follow these instructions EXACTLY.\\n\\n## General Pattern\\nEach app has:\\n- Backend: `apps/<name>/backend/main.py` \u2014 FastAPI + uvicorn, all routes prefixed with `/api/`\\n- Frontend: `apps/<name>/frontend/` \u2014 React + Vite + Tailwind CSS\\n- `apps/<name>/start.sh` \u2014 launches both backend and frontend\\n- Dark theme: background `#0f1117`, borders `#2a2d3e`, text `#e2e8f0`, accent `#4a9eff`\\n\\nFor each frontend, run these commands:\\n```\\nmkdir -p /root/git/openhands-remote/apps/<name>/frontend && cd /root/git/openhands-remote/apps/<name>/frontend\\nnpm init -y\\nnpm install react react-dom\\nnpm install -D vite @vitejs/plugin-react tailwindcss @tailwindcss/vite\\n```\\n\\nVite config must have `base: '/apps/<name>/'` and the correct dev server port.\\n\\nCreate a `vite.config.js`:\\n```js\\nimport { defineConfig } from 'vite';\\nimport react from '@vitejs/plugin-react';\\nimport tailwindcss from '@tailwindcss/vite';\\nexport default defineConfig({\\n  plugins: [react(), tailwindcss()],\\n  base: '/apps/<name>/',\\n  server: { port: <PORT>, host: '0.0.0.0', allowedHosts: true }\\n});\\n```\\n\\nCreate `index.html` at the frontend root:\\n```html\\n<!DOCTYPE html>\\n<html lang=\\\"en\\\">\\n<head><meta charset=\\\"UTF-8\\\" /><meta name=\\\"viewport\\\
...truncated...
(`apps/llm/backend/main.py`): FastAPI + httpx\\nStorage: ~/.openhands/remote/assistant-settings.json\\n- GET /api/settings \u2014 return {model, apiKey, baseUrl, sessionKey}\\n- PUT /api/settings \u2014 merge {model, apiKey, baseUrl} into file, return {ok: true}\\n- GET /api/models?verified=true|false \u2014 proxy to <http://localhost:4004>, convert errors to {models: {}, error: \\\"...\\\"} always returning 200\\n\\nFrontend: Provider/model dropdowns, verified toggle, API key + session key password fields, advanced section with base URL, save button that also writes to localStorage key 'openhands-chat-settings'.\"}\n<parameter name=\"summary\">Delegate Phase 1 app builds to 5 sub-agents", "security_risk": "MEDIUM"} for tool 'delegate': 1 validation error for DelegateAction
tasks
  Input should be a valid dictionary [type=dict_type, input_value='{"batch1": "Build TWO ap... builds to 5 sub-agents', input_type=str]
    For further information visit <https://errors.pydantic.dev/2.12/v/dict_type>
CC @modern-fireman-99755 who I think is working on this (feel free to redirect)
c
What are these ‘apps’?
I first thought you were just testing or having some fun (hey fun is fair 😅), but I see some PRs seem to split settings into different API endpoints?
m
@wooden-umbrella-84098 Would you mind sharing your conversation traces (privately is fine)? They are located in
.openhands/conversations
. I suspect I see the problem, but I want to understand if it is on our end or an incorrect tool call by the LLM. 🙂 Thanks!
w
I think these have been blown out unfortunately
But you can probably repro by giving this to OpenHands CLI: https://github.com/rbren/personal-ai-devbox
😅 1
I think I just pasted that link and hit enter
c
I love that. Software is made of prompts, of course! 😅 Just the other day, I asked someone in a PR what LLM and agent did they use, and, also, what was the prompt. 🤣 I might need to make a habit of it. Hey I was curious why did it make V0 changes to a thing, when it kinda shouldn't have
💯 1
m