mirror of
https://github.com/open-webui/computer.git
synced 2026-11-25 14:57:45 -05:00
6 files changed
+30
-6
No files matched your search
@@ -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">
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user