Integrate Hugging Face model library and separate web actions
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 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.
|
||||
- **MLX:** In **Settings → MLX Library**, search Hugging Face for public MLX Community checkpoints or browse the recommended models. Download a checkpoint and choose **Load Model** to load it for on-device inference. **Settings → Models** also accepts a local model folder with configuration, tokenizer files, and safetensors weights. **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
|
||||
@@ -91,7 +91,7 @@ as rows with direct selection controls.
|
||||
|
||||
Type `Search the web for Laravel service container` or paste a page URL
|
||||
into chat. AI Studio uses Bing search by default. To use SearXNG, set a
|
||||
`/search` endpoint with JSON enabled in **Toolbox → Web**.
|
||||
`/search` endpoint with JSON enabled in **Toolbox → Web Search**.
|
||||
|
||||
A search retrieves up to four result pages. A direct request retrieves
|
||||
up to two URLs. Both can follow up to three relevant links on the same
|
||||
@@ -100,8 +100,7 @@ scripts and sends excerpts with source URLs to the selected model.
|
||||
The chat's diagnostics menu has a **Show Debug Output** option for
|
||||
retrieved page paths and lookup errors.
|
||||
|
||||
**Toolbox → Web** also lets you search, retrieve and preview a page,
|
||||
and attach it to the next message. **Built-In Web** offers separate
|
||||
**Toolbox → Web Search** lists results. **Toolbox → Retrieve Page** previews a page and lets you attach it to your next message. Both are available next to the chat composer. **Built-In Web** offers separate
|
||||
search and retrieval tools in the MCP Servers tab.
|
||||
|
||||
## Add local files to chat
|
||||
|
||||
Reference in New Issue
Block a user