Add custom MCP profiles and reusable workspace libraries
This commit is contained in:
@@ -6,7 +6,7 @@ Native SwiftUI chat for Apple silicon Macs running macOS 14 or later. Open `AISt
|
||||
|
||||
- **Ollama:** In **Settings → Models**, refresh the installed list and select a tag. The default server is `http://127.0.0.1:11434`. Use the same pane to pull, inspect, and delete models. Enter a remote HTTP or HTTPS base URL to use another server. The optional bearer token stays in memory and requires HTTPS for remote servers.
|
||||
- **OpenAI-compatible:** In **Settings → Models**, choose the compatible backend, enter the API base URL (for example `http://127.0.0.1:1234/v1` for LM Studio), then refresh models and select the exact model ID. Remote URLs require HTTPS. An optional bearer token stays in memory and is cleared when the endpoint changes. The server manages model loading. Chat Completions streams the reply and any separately reported reasoning.
|
||||
- **MLX:** In **Settings → MLX Catalog**, download and select a pinned SmolLM2 or Qwen3 model. **Settings → Models** also accepts a local model folder with configuration, tokenizer files, and safetensors weights. **Use Model** selects on-device inference. **Prefer Ollama** can fall back to the configured MLX folder when Ollama fails before emitting output.
|
||||
- **MLX:** In **Settings → MLX Library**, download and select a pinned SmolLM2 or Qwen3 model. **Settings → Models** also accepts a local model folder with configuration, tokenizer files, and safetensors weights. **Use Model** selects on-device inference. **Prefer Ollama** can fall back to the configured MLX folder when Ollama fails before emitting output.
|
||||
- **Thinking:** The composer sends Boolean or named effort settings to Ollama. Supported MLX templates expose Default, Off, and On. Reported reasoning appears in an expandable section. If an Ollama request is interrupted after emitting text, reasoning, or a tool call, the router keeps that backend. **Stop** cancels generation and retains any partial output.
|
||||
|
||||
## 2. Chat with documents
|
||||
@@ -17,7 +17,7 @@ Chat history, older-message recall, and document indexes live in `~/Library/Appl
|
||||
|
||||
## 3. Run a tool
|
||||
|
||||
Open **Settings → MCP Tools**, enter an MCP HTTP endpoint, and choose **Discover Tools**. Select a tool, review the schema, enter its JSON arguments, and confirm the invocation. You can attach up to 8,000 characters of the result to the next message in the active conversation. The composer shows the attachment before it is sent.
|
||||
Open **Toolbox**, enter an MCP HTTP endpoint, and choose **Discover Tools**. Select a tool, review the schema, enter its JSON arguments, and confirm the invocation. You can attach up to 8,000 characters of the result to the next message in the active conversation. The composer shows the attachment before it is sent.
|
||||
|
||||
For a local subprocess, select **Local stdio**, enter the full path of the
|
||||
server executable, and add one argument per line. Choose **Start Server and
|
||||
@@ -36,8 +36,8 @@ or save as the global system prompt. Global settings persist across launches.
|
||||
|
||||
Search conversation titles and messages in the sidebar. Rename the selected
|
||||
chat with the pencil button. Completed replies render inline Markdown and fenced
|
||||
code blocks with copy controls. The **Performance** dashboard tracks the last
|
||||
50 generations in this session, including latency, duration, output size,
|
||||
code blocks with copy controls. The **Performance** dashboard keeps the last
|
||||
50 generations across launches, including latency, duration, output size,
|
||||
backend, and tokens per second when the provider supplies it.
|
||||
|
||||
## 5. Generation and local tools
|
||||
@@ -64,6 +64,22 @@ or set an optional maximum weight-file size for new model loads. The model
|
||||
weight limit measures safetensors on disk. It does not estimate total runtime
|
||||
memory.
|
||||
|
||||
## Workspace and desktop preferences
|
||||
|
||||
Open **Workspace** to create reusable document stacks, store instructions as
|
||||
Skills, save reference Contexts, save Prompts, or capture public UTF-8 pages as
|
||||
Web Clips. Select the resources you want to include in the current chat.
|
||||
Toolbox shows the connected MCP server beside the composer. Read
|
||||
[Programming custom MCP servers](Docs/MCP.md) for configuration, the installed
|
||||
Knowledge server, and troubleshooting.
|
||||
|
||||
Return sends and Shift–Return inserts a newline. **Settings → Appearance**
|
||||
controls workspace mode, theme, accent, typography, spell checking and
|
||||
automatic correction. **Settings → Workspace Data** exports the SQLite
|
||||
workspace and restores an AI Studio backup after confirmation. Backup
|
||||
reminders appear in that panel. **Settings → MLX Library** downloads catalog
|
||||
models and registers existing local MLX model folders.
|
||||
|
||||
## 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