Merge pull request #163 from open-webui/main

0.9.13
This commit is contained in:
Tim Baek
2026-07-23 12:02:34 -05:00
committed by GitHub
Unverified
4 changed files with 15 additions and 4 deletions
+6
View File
@@ -5,6 +5,12 @@ 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.13] - 2026-07-23
### Fixed
- 💬 **Local model chats stop repeating themselves.** When a llama.cpp or OpenAI-compatible connection finishes an answer, Computer now stops there instead of accepting extra repeated parts that could duplicate the final text or run the same tool again.
## [0.9.12] - 2026-07-21
### Added
+7 -2
View File
@@ -554,9 +554,14 @@ async def stream_openai_completions(
return item
async for line in resp.aiter_lines():
if not line.startswith("data: ") or line == "data: [DONE]":
if not line.startswith("data:"):
continue
chunk = json.loads(line[6:])
raw = line.removeprefix("data:").strip()
if raw == "[DONE]":
break
if not raw:
continue
chunk = json.loads(raw)
choices = chunk.get("choices", [])
delta = choices[0].get("delta", {}) if choices else {}
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "cptr"
version = "0.9.12"
version = "0.9.13"
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.12"
version = "0.9.13"
source = { editable = "." }
dependencies = [
{ name = "aiosqlite" },