10 Commits

Author SHA1 Message Date
912763b3f1 🚀 Auto-deploy: BotVPS atualizado em 02/05/2026 15:37:40 2026-05-02 15:37:40 +00:00
1c1fac3735 🚀 Auto-deploy: BotVPS atualizado em 01/05/2026 21:16:46 2026-05-01 21:16:46 +00:00
0c25fa59d8 🚀 Auto-deploy: BotVPS atualizado em 28/03/2026 17:15:38 2026-03-28 17:15:38 +00:00
b7e6239216 refatoracao 2026-03-23 23:38:56 +00:00
Marcos
1ec63581c2 Fix format_completion_message counter and step display 2026-03-22 16:10:26 -03:00
Marcos
bd0cbf8769 fix: Correct Ollama endpoint and BotVPS path
- Ollama: Use ollama-lw4s8g4gc8gss4gkc4gg0wk4 hostname instead of localhost
- BotVPS: Path is /app inside container
- Improve detect_git_repo_path to find correct paths
- Update planner prompt with correct context
2026-03-22 16:03:41 -03:00
Marcos
19ac2b55d4 feat: Auto-detect repository paths for any app
- Add detect_git_repo_path() function to find repos in /data/repositories
- Add detect_app_in_docker() to find containers by name
- Planner now receives detected context automatically
- Supports BotVPS, TrackSteel, and any repo in /data/repositories
- Uses 'docker compose' (space) syntax

Example: 'faz deploy do tracksteel' will detect TrackSteel repo path automatically
2026-03-22 15:30:15 -03:00
Marcos
7579e62d9b fix: Improve planner with correct paths and docker compose syntax
- Add BotVPS repository path: /data/applications/bw1erd9ww5121i1fsh420bcj
- Force use of 'docker compose' (space) not 'docker-compose' (hyphen)
- Use bash tool for all commands with full absolute paths
- Add clear examples of CORRECT vs INCORRECT commands
2026-03-22 15:27:59 -03:00
Marcos
0f7bdbc3a4 fix: Improve planner prompt for correct command generation
- Fix tool usage: command should be the ARGUMENT, not tool name
- Fix Docker Compose: use 'docker compose' (space) not 'docker-compose'
- Add clear examples for correct tool usage
- Improve command generation for git and docker operations
2026-03-22 15:25:51 -03:00
Marcos
64731a24a5 Stability: CPU fix with psutil interval and LLM timeouts 2026-03-22 14:36:20 -03:00