feat: add intelligent provider profile recommendation

This commit is contained in:
Vasanthdev2004
2026-04-01 11:10:51 +05:30
parent 2d7aa9c841
commit 174eb8ad3b
9 changed files with 945 additions and 40 deletions

View File

@@ -37,6 +37,18 @@ If everything is healthy, OpenClaude starts directly.
bun run profile:init -- --provider ollama --model llama3.1:8b
```
Or let OpenClaude recommend the best local model for your goal:
```powershell
bun run profile:init -- --provider ollama --goal coding
```
Preview recommendations before saving:
```powershell
bun run profile:recommend -- --goal coding --benchmark
```
### 3.2 Confirm profile file
```powershell
@@ -171,6 +183,12 @@ Fix:
bun run profile:init -- --provider ollama --model llama3.1:8b
```
Or auto-pick a local profile:
```powershell
bun run profile:auto -- --goal balanced
```
## 6.5 Placeholder key (`SUA_CHAVE`) error
Cause:
@@ -202,6 +220,14 @@ bun run profile:fast # llama3.2:3b
bun run profile:code # qwen2.5-coder:7b
```
Goal-based auto-selection:
```powershell
bun run profile:auto -- --goal latency
bun run profile:auto -- --goal balanced
bun run profile:auto -- --goal coding
```
## 8. Practical Prompt Playbook (Copy/Paste)
## 8.1 Code understanding