Configure silent prompts, generation parameters, and local tools
This commit is contained in:
@@ -22,7 +22,7 @@ The client supports Streamable HTTP with current stateless discovery and legacy
|
||||
|
||||
## 4. Customize prompts and review performance
|
||||
|
||||
Choose a **Global Prompt** in the composer. Default, Concise, Coding, Study,
|
||||
Choose a **Global preset** in **Settings → Generation**. Default, Concise, Coding, Study,
|
||||
Creative, and Custom are available across conversations. **Prompt Builder**
|
||||
turns structured inputs into a prompt you can copy, put in the composer,
|
||||
or save as the global system prompt. Global settings persist across launches.
|
||||
@@ -33,6 +33,23 @@ code blocks with copy controls. The **Performance** dashboard tracks the last
|
||||
50 generations in this session, including latency, duration, output size,
|
||||
backend, and tokens per second when the provider supplies it.
|
||||
|
||||
## 5. Generation and local tools
|
||||
|
||||
**Settings → Generation** applies system instructions to future requests
|
||||
without adding a transcript message. Save parameter overrides with **Apply
|
||||
Parameters**. Blank fields inherit backend defaults, including AI Studio’s
|
||||
1,024-token MLX cap. Shared settings include sampling temperature, top-p,
|
||||
output token limit, repetition controls, and stop sequences. Ollama also accepts
|
||||
context length, top-k, min-p, seed, frequency and presence penalties, keep-alive,
|
||||
and JSON response mode. Native MLX exposes rolling KV-cache size and prefill
|
||||
step size. On failover, MLX uses the supported shared and MLX settings.
|
||||
|
||||
**Settings → Local Tools** runs a confirmed command through the installed
|
||||
Docker CLI. It captures up to 128 KiB of combined output; you can copy that
|
||||
output or explicitly attach it to the active chat. The Finder section can open
|
||||
or reveal a selected file or folder. Docker commands and Finder actions are
|
||||
initiated from the settings panel.
|
||||
|
||||
## Build and test
|
||||
|
||||
From the project root, run `Scripts/build.sh` to build and open AI Studio. It defaults to Debug. Use `./build.sh Release` for a Release build, or add `--no-launch` after the configuration to build without opening the app. Run `Scripts/test.sh` for XCTest, including the local MCP and Ollama management fixture. It requires Python 3 for the fixture and keeps its logs and results in the temporary build directory.
|
||||
|
||||
Reference in New Issue
Block a user