feat: enable multimodal attachments for agents

This commit is contained in:
2025-10-26 05:14:17 +01:00
parent 353c0a8239
commit 28b6eb0a9a
20 changed files with 1387 additions and 176 deletions

View File

@@ -218,10 +218,10 @@ Toggle the feature at runtime with `:web on` / `:web off` from the TUI or `owlen
Owlen now ships with an interactive helper for Ollama Cloud:
```bash
owlen cloud setup # Prompt for your API key (or use --api-key)
owlen cloud setup --api-key <KEY> # Configure your API key (uses stored value when omitted)
owlen cloud status # Verify authentication/latency
owlen cloud models # List the hosted models your account can access
owlen cloud logout # Forget the stored API key
```
When `privacy.encrypt_local_data = true`, the API key is written to Owlen's encrypted credential vault instead of being persisted in plaintext. Subsequent invocations automatically load the key into the runtime environment so that the config file can remain redacted. If encryption is disabled, the key is stored under `[providers.ollama_cloud].api_key` as before.
When `privacy.encrypt_local_data = true`, the API key is written to Owlen's encrypted credential vault instead of being persisted in plaintext. The vault key is generated and managed automatically—no passphrase prompts are ever shown—and subsequent invocations hydrate the runtime environment from that secure store. If encryption is disabled, the key is stored under `[providers.ollama_cloud].api_key` as before.

View File

@@ -55,7 +55,7 @@ If Owlen is not behaving as you expect, there might be an issue with your config
If you see `Auth` errors when using the hosted service:
1. Run `owlen cloud setup` to register your API key (with `--api-key` for non-interactive use).
1. Run `owlen cloud setup --api-key <KEY>` to register your API key (omit the flag only if you have already stored credentials in the vault or config file).
2. Use `owlen cloud status` to verify Owlen can authenticate against [Ollama Cloud](https://docs.ollama.com/cloud) with the canonical `https://ollama.com` base URL. Override the endpoint via `providers.ollama_cloud.base_url` only if your account is pointed at a custom region.
3. Ensure `providers.ollama_cloud.api_key` is set **or** export `OLLAMA_API_KEY` (legacy: `OLLAMA_CLOUD_API_KEY` / `OWLEN_OLLAMA_CLOUD_API_KEY`) when encryption is disabled. With `privacy.encrypt_local_data = true`, the key lives in the encrypted vault and is loaded automatically.
4. Confirm the key has access to the requested models. Recent accounts scope access per workspace; visit <https://ollama.com/models> while signed in to double-check the SKU name.