mirror of
https://github.com/open-webui/computer.git
synced 2026-11-19 20:27:05 +03:00
@@ -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
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user