mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #341] File "G:\Strata\serve\server.py", line 958, in _note s["tail"] = (s["tail"] + (ev.text or ""))[-600:] #161
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @anbow1 on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/341
[strata] done: 4156 tokens in 0 s (0.0 tok/s) (stop, cancel=False), expert cache 91.6% hit
[strata] reading the prompt: 14,962 of 49,910 tokens, 2 s so far
[strata] reading the prompt: 23,154 of 49,910 tokens, 4 s so far
[strata] reading the prompt: 31,346 of 49,910 tokens, 6 s so far
[strata] reading the prompt: 39,538 of 49,910 tokens, 9 s so far
[strata] reading the prompt: 47,730 of 49,910 tokens, 11 s so far
[strata] reading the prompt: 49,905 of 49,910 tokens, 12 s so far
Exception occurred during processing of request from ('127.0.0.1', 61477)
Traceback (most recent call last):
File "C:\Users\bigbo\AppData\Local\Python\pythoncore-3.14-64\Lib\socketserver.py", line 697, in process_request_thread
self.finish_request(request, client_address)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bigbo\AppData\Local\Python\pythoncore-3.14-64\Lib\socketserver.py", line 362, in finish_request
self.RequestHandlerClass(request, client_address, self)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bigbo\AppData\Local\Python\pythoncore-3.14-64\Lib\socketserver.py", line 766, in init
self.handle()
~~~~~~~~~~~^^
File "C:\Users\bigbo\AppData\Local\Python\pythoncore-3.14-64\Lib\http\server.py", line 496, in handle
self.handle_one_request()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\bigbo\AppData\Local\Python\pythoncore-3.14-64\Lib\http\server.py", line 484, in handle_one_request
method()
~~~~~~^^
File "G:\Strata\serve\server.py", line 1551, in do_POST
self._openai(req)
~~~~~~~~~~~~^^^^^
File "G:\Strata\serve\server.py", line 1644, in _openai
for c in chunks:
^^^^^^
File "G:\Strata\serve\server.py", line 1233, in openai_chunks
for kind, x in run if run is not None else svc.run(ids, thinking, tools, max_new, req, cancel):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\Strata\serve\server.py", line 1022, in run
self._note(n, evs)
~~~~~~~~~~^^^^^^^^
File "G:\Strata\serve\server.py", line 958, in _note
s["tail"] = (s["tail"] + (ev.text or ""))[-600:]
~^^^^^^^^
KeyError: 'tail'
solution
s["tail"] = (s.get("tail", "") + (ev.text or ""))[-600:]
@anbow1 commented on GitHub (Oct 1, 2026):
sorry. I see its already fixed in 0.1.31
care to add GLM5.3 GSQ RCO?
@Niko1221 commented on GitHub (Oct 1, 2026):
Fixed in 0.1.31 (#266), as you confirmed. Thanks!