Add Splash Inkling model to Pi picker #24
No files matched your search
@@ -1,5 +1,29 @@
|
||||
{
|
||||
"providers": {
|
||||
"splash": {
|
||||
"baseUrl": "http://127.0.0.1:8099/v1",
|
||||
"api": "openai-completions",
|
||||
"apiKey": "local",
|
||||
"models": [
|
||||
{
|
||||
"id": "unsloth/Inkling-2-Mini-GGUF:UD-IQ3_XXS",
|
||||
"name": "Splash - Inkling 2 Mini (UD-IQ3_XXS)",
|
||||
"reasoning": true,
|
||||
"thinkingLevelMap": {
|
||||
"off": "none"
|
||||
},
|
||||
"input": ["text"],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"omlx": {
|
||||
"baseUrl": "http://localhost:8000/v1",
|
||||
"api": "openai-completions",
|
||||
|
||||
@@ -1,5 +1,38 @@
|
||||
The reason you are still seeing command not found is that darwin-rebuild does not exist on your computer yet.When doing a brand-new installation of nix-darwin, the darwin-rebuild tool is not part of the standard Nix installer. You have to bootstrap it using the nix run command first, which will dynamically pull the tool from GitHub and execute the initial build.Run the following command from your terminal inside your ~/.dotfiles directory:zshsudo nix run nix-darwin#darwin-rebuild -- switch --flake ~/.dotfiles#lt-mbp
|
||||
|
||||
## Pi: Splash Inkling
|
||||
|
||||
`home/.pi/agent/models.json` adds `splash/unsloth/Inkling-2-Mini-GGUF:UD-IQ3_XXS` without changing the default or other providers.
|
||||
The picker label is **Splash - Inkling 2 Mini (UD-IQ3_XXS)**, distinct from oMLX.
|
||||
|
||||
1. Start the server with the Splash launcher maintained in [ai-env](file:///Users/laptran/Documents/ai-env/README.md) (`~/Documents/ai-env`).
|
||||
2. Follow its server startup instructions for `http://127.0.0.1:8099/v1`, without its Pi client launcher. Do not start a second server.
|
||||
3. In Pi, open `/model`, search `Splash`, and press Enter. Do not press Ctrl+S unless you want a new default.
|
||||
4. Use `/thinking off` for a non-reasoning reply.
|
||||
|
||||
The endpoint uses OpenAI chat completions (`api: openai-completions`), text input, a 131072-token context, and an 8192-token reply limit.
|
||||
`apiKey: local` is a non-secret discovery placeholder for the unauthenticated local server.
|
||||
It is not a credential for an authenticated server.
|
||||
|
||||
The installed Splash 1.7.3 `install/clients.py::_write_pi_provider` uses `reasoning: true` with `thinkingLevelMap: {"off": "none"}`.
|
||||
This configuration preserves that mapping. Pi 1.6.0 sends `reasoning_effort: "none"` when thinking is off.
|
||||
Splash's launcher otherwise writes a 32768-token reply limit. This entry deliberately uses 8192 instead.
|
||||
The launcher resolves symlinks and replaces its provider entry, so do not use its Pi client launcher with the normal agent directory.
|
||||
That can overwrite this entry or modify the primary dotfiles checkout.
|
||||
|
||||
### Safe activation after approval
|
||||
|
||||
Do not rebuild or replace the live file from this task copy.
|
||||
The live `~/.pi/agent/models.json` already links to the primary checkout and can contain unrelated edits.
|
||||
Apply only the new `providers.splash` object from this branch to the primary checkout's `home/.pi/agent/models.json`.
|
||||
Preserve every other provider and all existing edits. Review the diff before saving.
|
||||
Pi reloads the file when you open `/model`, so no rebuild or symlink change is necessary.
|
||||
|
||||
For isolated validation, copy `models.json` into a temporary directory within this checkout.
|
||||
Set `PI_CODING_AGENT_DIR` to that directory and run Pi from a neutral directory with
|
||||
`--no-extensions --no-mcp --no-skills --no-prompt-templates --no-context-files --no-session`.
|
||||
Pi 1.6.0 does not use `PI_AGENT_DIR` for this isolation.
|
||||
|
||||
## firstmate + Gitea (one-time per machine, secrets not in nix)
|
||||
|
||||
The firstmate crew dispatch + Gitea PR helper are wired by `darwin-rebuild`, but two secrets must be set manually per machine (nix cannot manage tokens without exposing them):
|
||||
|
||||
Reference in new issue
Block a user