Refactor justfile to reduce redundancy and merge similar recipes

- Merge deploy-* recipes into a single deploy-script recipe
- Remove rarely used recipes (show id, setup-dirs)
- Simplify test-* recipes
- Remove redundant default recipe
- Preserve all critical functionality
This commit is contained in:
Pontoporeia
2026-05-01 22:41:14 +02:00
parent d09f1942f0
commit 8a38708fc8
2 changed files with 20 additions and 60 deletions

13
TODO.md
View File

@@ -1,9 +1,8 @@
# TODO
- [x] Investigate Mistral API 404 error
- [x] Fix Mistral provider configuration (changed api to "mistral-conversations" and baseUrl to "https://api.mistral.ai")
## Issue Resolution
The Mistral provider had two configuration errors:
1. Used deprecated `api: "openai-completions"` instead of `api: "mistral-conversations"`
2. Incorrect baseUrl with `/v1` suffix. The Mistral SDK's `serverURL` expects the base URL without path suffixes - it appends the API paths internally. Changed from `https://api.mistral.ai/v1` to `https://api.mistral.ai`
- [x] Refactor `justfile` to reduce redundancy and merge similar recipes
- [x] Merge `deploy-*` recipes into a single `deploy-script` recipe
- [x] Remove rarely used recipes (`show id`, `setup-dirs`)
- [x] Simplify `test-*` recipes
- [x] Remove redundant `default` recipe
- [x] Preserve all critical functionality