Merge pull request #130 from open-webui/main

0.9.3
This commit is contained in:
Tim Baek authored and GitHub committed 2026-07-11 21:23:56 -05:00
commit 64414b1e9c
6 files changed
+30 -6

No files matched your search

+10
View File
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.9.3] - 2026-07-11
### Changed
- 🎨 **Your appearance choice follows you.** Sign-in and setup now use the same look you picked for Computer.
### Fixed
- 🤖 **Pi only appears when it is really there.** A different program with a similar name will no longer show up as Pi.
## [0.9.2] - 2026-07-11
### Added
@@ -70,7 +70,10 @@
}
</script>
<div class="flex items-center justify-center h-dvh bg-white dark:bg-black p-6">
<div
class="app-theme flex items-center justify-center h-dvh bg-white dark:bg-black p-6"
style="background: var(--app-bg); color: var(--app-fg);"
>
<div class="w-full max-w-md">
<h1 class="text-lg font-semibold tracking-tight text-gray-900 dark:text-white mb-3">
Computer
@@ -91,7 +91,10 @@
let searchShortcut = $derived(formatChord($keybindings.quickOpen));
</script>
<div class="flex items-center justify-center h-dvh bg-white dark:bg-black p-6">
<div
class="app-theme flex items-center justify-center h-dvh bg-white dark:bg-black p-6"
style="background: var(--app-bg); color: var(--app-fg);"
>
<div class="w-full max-w-md">
<!-- Progress dots -->
<div class="flex gap-1.5 mb-6">
+10 -2
View File
@@ -184,6 +184,14 @@ async def detect_profile(profile: dict[str, Any]) -> AgentDetection:
if profile.get("agent") == "pi":
models = await _probe_pi_models(command, profile)
if models is None:
return AgentDetection(
"error",
command,
version,
"Pi RPC is unavailable; the resolved command may not be Pi.",
[],
)
if not models:
return AgentDetection(
"auth_unknown",
@@ -277,7 +285,7 @@ async def _probe_pi_models(command: str, profile: dict[str, Any]) -> list[str] |
provider, model = item.get("provider"), item.get("id")
if isinstance(provider, str) and provider and isinstance(model, str) and model:
models.append(f"{provider}/{model}")
return models or None
return models
except Exception:
return None
finally:
@@ -527,7 +535,7 @@ async def get_agent_status(app_state=None, refresh: bool = False) -> dict[str, A
candidates = profiles if not implicit_defaults else default_agent_profiles()
for profile in candidates:
detected = await detect_profile(profile)
if implicit_defaults and detected.status == "not_found":
if implicit_defaults and detected.status in {"not_found", "error"}:
continue
mode = profile.get("mode", "auto")
models = detected.models or profile.get("models") or []
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "cptr"
version = "0.9.2"
version = "0.9.3"
description = "Your computer, from anywhere. Code, manage, and control your machine from the web."
license = {file = "LICENSE"}
readme = "README.md"
Generated
+1 -1
View File
@@ -284,7 +284,7 @@ wheels = [
[[package]]
name = "cptr"
version = "0.9.2"
version = "0.9.3"
source = { editable = "." }
dependencies = [
{ name = "aiosqlite" },