Commit Graph

1153 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
760f7d7a22 fix(rag): run GraphRAG off the server's uvloop loop (#695)
`graphrag_llm` calls `nest_asyncio2.apply()` at import time, and that patch
refuses uvloop — the loop `uvicorn[standard]` gives the backend on
macOS/Linux. So the first GraphRAG import raised "Can't patch loop of type
<class 'uvloop.Loop'>" and indexing died before it started; the reporter's
workaround was to force UVICORN_LOOP=asyncio for the whole app.

Drive every GraphRAG entry point from a worker thread that owns a stock
asyncio loop: the import-time patch and GraphRAG's own nested
`run_until_complete` calls get the reentrant loop they expect, and the
server's loop is left alone. The adapter stays the only graphrag-aware
module, so its function-local imports now also decide where that patch
lands.

Completes #695 — the settings.yaml `$` escape and the `cache.type` fix
landed in #699.
2026-07-26 20:47:30 +08:00
Bingxi Zhao (Frank)
9f25da9f77 fix(rag): cite what retrieval actually returned (#694)
The `rag` tool reported a single source that was just an echo of its own
query, while `result["sources"]` — the chunks / entities / reports each
pipeline already normalises into DeepTutor's citation shape — was dropped
on the floor. Grounded answers therefore carried no traceable provenance,
unlike web_search / web_fetch / arxiv.

Forward the retrieval's own sources, keeping `type`/`kb_name` on every
entry for existing consumers, and fall back to the query echo only when an
engine surfaces nothing.

Note the local LightRAG pipeline still returns `sources: []` (it keeps only
the synthesised answer from `engine.query`), so #694 stays open for that
engine; GraphRAG and the LightRAG-server pipeline cite properly now.
2026-07-26 20:47:01 +08:00
Bingxi Zhao (Frank)
a1fcbfd38a fix(cli): keep launcher logs alive on legacy Windows code pages (#702)
`deeptutor start` relays child output with `print()`, which re-encodes
through the console's own codec. On cp950/cp936/cp932 the `✓` in Next.js's
startup banner raised UnicodeEncodeError, killed the relay thread, and the
session went silent for good — the app kept serving, so it read as a dead
frontend.

The child side was already covered (`PYTHONIOENCODING=utf-8:replace` in
`common_env`, `errors="replace"` on the pipes); only the parent's own
stdout was strict. Relax it once at startup so every line the launcher
prints — relayed or its own translated status text — degrades instead of
raising.
2026-07-26 20:47:01 +08:00
Bingxi Zhao (Frank)
2faaef9ee8 fix(chat): mint unique optimistic message ids (#698)
An optimistic row's id was `-Date.now()`, and ADD_USER_MSG / STREAM_START
are dispatched back-to-back — so the user row and the assistant placeholder
routinely landed in the same millisecond and shared one id.

`reconcileTurnIds` keys its optimistic->persisted remap by id, so the two
rows collapsed onto a single persisted id when the turn's `done` arrived.
The next turn then pinned `parent_message_id` to the previous USER message
(an orphan branch server-side) and `buildVisiblePath` dropped the assistant
reply until a session reload put the DB's ids back.

Invisible until v1.5.4: the post-turn full-session refetch that 308a0606
replaced with in-place reconciliation used to overwrite the collision.

Mint ids from one seam that never repeats itself instead — same negative,
time-ordered shape the sibling ranking relies on.
2026-07-26 20:46:36 +08:00
ZJPex
6f4ffa1bdc fix(web): respect manual scrolling in partner chat (#704) 2026-07-26 20:22:17 +08:00
Amir Fathi
a252a0a83e fix: escape $ in GraphRAG file_pattern, fix cache type (#699)
GraphRAG's load_config() runs string.Template substitution on the raw
settings.yaml text before parsing it, so the literal $ in our
file_pattern regex (.*\.txt$) raises "Invalid placeholder". Escape
it as $$.

cache.type was set to "file", which is a storage type, not a
registered cache type (GraphRAG's CacheFactory only knows
json/memory/none); the first indexing run raises
"CacheConfig.type 'file' is not registered in the CacheFactory".
Changed to "json".

Verified both failures and the fix against the real graphrag==3.1.1
package (graphrag.config.load_config.load_config +
graphrag_cache.cache_factory.create_cache, the same call
run_pipeline.py makes), not just a yaml roundtrip. Added a regression
test guarded with pytest.importorskip("graphrag") since the package
is not installed in this repo's CI; ran RED on unpatched config.py and
GREEN after the fix, both with graphrag installed in Docker.

Fixes #695
2026-07-26 20:22:11 +08:00
Shih-Feng Huang (Fredric)
4a6969430c fix(llm): add opus-5 to the Anthropic effort-based family list (#703)
`claude-opus-5` was missing from `_EFFORT_BASED_FAMILIES`, so the
substring check at `_build_kwargs` resolved `effort_based` to False and
the request carried `temperature`. Opus 5 rejects it outright, making
every turn on that model fail:

    invalid_request_error: `temperature` is deprecated for this model.

The same flag also selects how thinking is expressed, so the miss meant
Opus 5 would have been sent `thinking: {"type": "enabled", ...}` — the
other form that generation rejects — once an effort level was set.

The existing regression tests cover exactly this behaviour but had not
been extended with the new model, which is why the gap went unnoticed;
adding `claude-opus-5` to both model tuples makes them fail without the
one-line fix and pass with it.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-26 20:22:03 +08:00
Bingxi Zhao (Frank)
75900a5b2f fix(llm): resolve eden_ai binding alias and backfill Eden AI provider tests
Follow-up to #671. The eden_ai/eden-ai spelling variants lived in the
spec's keywords tuple, but keywords are only consulted by find_by_model
(which excludes gateways) — binding names resolve through
PROVIDER_ALIASES. Register the alias there (canonicalization folds
eden-ai into eden_ai) and trim keywords to the canonical name.

Backfill the four registry-wiring tests the Atlas Cloud addition (#654)
established as the pattern: spec fields + alias + base detection,
runtime binding resolution, settings provider choices, and the cloud
openai_compat native-tools guard.
2026-07-24 22:14:56 +08:00
Victor M. SMITH
221e0e1d3b feat: add Eden AI as an LLM provider (#671)
Eden AI is an OpenAI-compatible gateway (https://api.edenai.run/v3) that routes to many providers behind one key; models addressed as <provider>/<model>. Adds a single ProviderSpec to the registry (openai_compat backend, EDENAI_API_KEY), so env vars, config matching and status display all derive from it per the module docs.
2026-07-24 22:10:12 +08:00
Bingxi Zhao (Frank)
5e390ffc20 fix(llm): drop temperature for Moonshot kimi models instead of forcing 1.0
Kimi-branded models reject any explicit temperature with HTTP 400; a
None override now removes the parameter so the API applies each model's
fixed default, while the tunable moonshot-v1-* series keeps the
caller's value.
2026-07-24 20:50:08 +08:00
Bingxi Zhao (Frank)
d068519de8 release: v1.5.4
Same-day maintenance follow-up to v1.5.3, focused on how chat feels.

- Chat responsiveness: the post-answer "generating" stall is gone (DONE
  carries the persisted message ids so the frontend reconciles in place
  instead of refetching the session), turn events flush in one
  transaction (#678), the streaming autoscroll stops forcing per-frame
  layouts, and Enter during streaming no longer fires an interleaved
  message (#674).
- Partners: markdown-table row splitting unified across channels — empty
  cells survive Slack (#679) and Feishu (#683) tables, and empty rows are
  no longer misread as header separators (#682).
- LLM-output parsing: <think> reasoning tags stripped before parsing
  (#675), adjacent JSON values no longer break Deep Research extraction
  (#680), and the parser returns the longest decodable value instead of
  the first prefix (#692).
- Assorted: streaming quiz cards stay scoped to their own turn (#677),
  the create-KB form survives the background indexing poll (#691), and
  Math Animator reads ms as milliseconds, not minutes (#681).
- Typing: SQLite session store add_message accepts str parents to match
  SessionStoreProtocol (PocketBase record ids).

Release notes: assets/releases/ver1-5-4.md
v1.5.4
2026-07-24 18:16:04 +08:00
Bingxi Zhao (Frank)
ed6aedf892 fix(knowledge): stop the indexing poll from wiping the create-KB form (#691)
CreateKbModal's reset effect was keyed on the providers array, which the
4s background-indexing poll replaces on every tick, so typed input and
loaded files vanished while another KB was indexing. Reset only on the
closed-to-open transition, and keep the providers reference stable in
useKnowledgeBases when a refresh returns identical content.
2026-07-24 17:39:07 +08:00
Bingxi Zhao (Frank)
34ca1cb27c fix(utils): return the longest decodable JSON value, not the first (#692)
The raw_decode scan added for trailing brace-prose returned the first
decodable value in the response. DeepSeek-style reasoning preludes often
embed a small schema example (e.g. {"chapters": []}) before the real
payload, so the example shadowed the actual object and BookEngine's
SpineAgent fell back to a single Overview chapter. Scan every top-level
candidate and keep the longest decode instead.
2026-07-24 17:39:00 +08:00
Bingxi Zhao (Frank)
308a0606f9 perf(chat): eliminate the post-stream "generating" stall
The spinner (and a frozen tab) outlived the LLM stream by seconds and
grew with conversation length:

- DONE now carries the persisted user/assistant message ids so the
  frontend reconciles its optimistic ids in place (lib/turn-reconcile)
  instead of refetching, re-normalizing, and re-rendering the whole
  session after every turn.
- The turn-event workspace mirror writes the whole batch in one append
  off the event loop instead of one synchronous open/write per event.
- PocketBase gains a batch append_turn_events that uploads in the
  background; the events.jsonl rglob flush in update_turn_status is
  gone, and add_message returns the real record id.
- The streaming autoscroll pin is mutation/load-driven instead of an
  unconditional 60fps scrollHeight read (forced layout) per frame.
2026-07-24 17:35:19 +08:00
Bingxi Zhao (Frank)
8f230e82a9 test(chat): pin DSML regression payload from issue #672
The mastery_grade markup reported in #672 (Mastery Path + DeepSeek) is
the same text-format tool-call leak fixed by #666 and shipped in
v1.5.3; keep the exact reported payload as a regression case.
2026-07-24 17:14:49 +08:00
Bingxi Zhao (Frank)
5d315a271d fix(quiz): scope streaming quiz cards to their turn (#677)
Two quizzes in one chat session share positional question ids
(q_1..q_N), so answer state is turn-scoped (#487). But during
streaming generation the QuizViewer received turnId=null — the result
event only lands at turn end — which bypassed that scoping: the card
hydrated the previous quiz's answers through the legacy cross-turn
lookup, showed them as already answered, and auto-reported them back
with an empty turn_id while questions were still being generated.

- derive the quiz turn id from the streamed events themselves
  (extractQuizTurnId); the result event stays authoritative
- QuizViewer: without a turn identity the card is local-only — no
  notebook hydration, no auto-report, no upserts
- sqlite store: a lookup without turn_id now only matches the legacy
  namespace (turn_id='') instead of falling back to other turns' rows
2026-07-24 17:14:41 +08:00
Bingxi Zhao (Frank)
5b2a0226c2 ci(lint): pin ruff to 0.16.0 and format office SKILL.md code blocks
CI installed ruff unpinned; 0.16.0 promoted markdown code-block formatting out
of preview, so `ruff format --check .` began flagging the Python snippets in the
docx/pdf/pptx/xlsx skill docs — code that had not changed since v1.5.3 (its green
CI predated the ruff bump).

Pin the CI ruff to 0.16.0 (matching local dev) so the gate can't drift on an
unpinned upstream release, and reformat the four SKILL.md code blocks — pure
layout only (split compound statements, normalize inline-comment spacing, blank
line after imports) — so the gate is green again.
2026-07-24 16:29:30 +08:00
Bingxi Zhao (Frank)
1667d070ec refactor(partners): unify markdown table row splitting across channels
#679/#682/#683 each fixed markdown-table cell handling in one channel, but
Slack (convert_markdown_table_to_labeled_rows) and Telegram (_render_table_box)
still split rows with str.strip("|"), which collapses leading/trailing empty
cells and shifts every column — only Feishu (#683) had the correct split.

Extract split_markdown_table_row as the single primitive and route Slack,
Telegram, and Feishu through it: fixes the same class of bug in all three and
removes three near-duplicate row splitters. Slack's separator-row detection now
reuses is_markdown_table_separator_row instead of an ad-hoc regex.

Also fixes the #679 helpers-import ordering and formats the #679/#683 test
files that squash-merge did not run through ruff format.
2026-07-24 16:19:35 +08:00
Santh
68de93f66e fix(partners): keep empty cells when converting Slack markdown tables (#679)
Blank cells were dropped by a truthiness filter, so columns disappeared from the Slack rendering.

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-07-24 16:09:55 +08:00
rncchen
dfbe2878a6 perf(session): flush buffered turn events in a single transaction (#678)
Post-stream finalisation appended buffered events one at a time, each in
its own fsync'd commit (connection open + turn lookup + MAX(seq) + INSERT
+ UPDATE + COMMIT per event). On slow storage this dominates turn
finalisation: on a NAS with spinning disks each commit took ~0.65 s, so a
550-event turn kept the client spinner running for ~6 minutes after the
answer had fully streamed, because the terminal done event is only
published after the flush.

Add SQLiteSessionStore.append_turn_events, which assigns seqs and inserts
the whole batch inside one transaction (measured: 501 events in ~6 ms),
and make _flush_buffered_events prefer it, keeping the per-event path as
a fallback for stores without batch support. When the turn has vanished
(session deleted mid-drain) the flush now logs one summary line instead
of one warning per buffered event.
2026-07-24 16:09:49 +08:00
Santh
968921b135 fix(partners): do not treat empty markdown rows as table separators (#682)
all([]) is True in Python, so a blank table row was treated as a separator.
2026-07-24 16:04:59 +08:00
Santh
87d243d747 fix(partners): keep empty edge cells in Feishu markdown tables (#683)
strip("|") collapsed leading/trailing empty cells, so ||Name|Age| lost a column and shifted row values.
2026-07-24 16:04:53 +08:00
Santh
5449b2dc05 fix(research): parse first JSON value when adjacent values follow (#680)
extract_json_from_text used a greedy brace match, so {"a":1}{"b":2} returned None.
2026-07-24 16:04:47 +08:00
Cyriellewu
b020686ced fix(json_parser): strip <think> reasoning tags before parsing (#675)
Reasoning models (Qwen, DeepSeek, etc.) emit chain-of-thought inside
<think>...</think> blocks before the JSON payload. parse_json_response()
did not account for this: a brace inside the reasoning was picked up by
the raw_decode scan and returned instead of the real object, silently
yielding wrong or empty data (e.g. empty BookEngine proposal fields).

Strip <think> blocks only on the direct-parse failure path, so a valid
JSON payload whose string values legitimately contain the substring
'<think>' is preserved exactly. Also drop an unclosed leading <think>
prelude up to the first JSON opener, and return the fallback when the
response is reasoning-only with no payload.

Fixes #673

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-24 16:04:42 +08:00
OasisCaterino
ebcac74b8f fix: prevent sending messages while AI is streaming response (#674)
Co-authored-by: oasis <oasis42@qq.com>
2026-07-24 16:04:36 +08:00
Santh
20f5ac7acd fix(math-animator): do not treat ms as minutes in duration parsing (#681)
Bare "m" matched inside "1ms", so millisecond text became a 60s target.
2026-07-24 16:03:53 +08:00
Bingxi Zhao (Frank)
3a19752a44 release: v1.5.3
Maintenance release on top of v1.5.2.

- Themeable code blocks: Settings → Appearance gains a Code blocks panel
  (syntax theme, line numbers, wrapping) applied across chat, Book, and
  Co-Writer.
- My Agents connects four more coding CLIs — Gemini, Kimi, opencode, and
  MiMo Code — alongside Claude Code and Codex.
- Atlas Cloud joins as an LLM provider (34 bindings total); DashScope text
  embeddings route correctly and encoding_format is omitted for strict
  OpenAI-compatible gateways.
- Reliability sweep: RAG coexists with an exclusive knowledge capability
  (#650), DeepSeek DSML tool-call parsing (#666), autoscroll release (#649),
  idempotent write_memory (#647), seeded persona presets (#659), plus Book
  WebSocket streaming, partner filename/split fixes, Visualize fences, and
  CLI UTF-8 input hardening.
- Packaging: cap requires-python to >=3.11,<3.14 so pip refuses 3.14 with a
  readable message instead of a failed source build (#664).

Release notes: assets/releases/ver1-5-3.md
v1.5.3
2026-07-24 03:06:58 +08:00
Bingxi Zhao (Frank)
27a0947486 fix(chat): let rag coexist with an exclusive knowledge capability (#650)
Selecting an Obsidian vault (an exclusive KnowledgeCapability) silently
dropped every co-selected LlamaIndex KB: rag was unmounted, unseeded and
unmentioned. Capabilities now declare owned_kbs (the vault / agent refs
they consume via their own tools); the pipeline keeps rag mounted,
seeded and noted for the remaining coexisting KBs, while a pure-vault
turn still mounts nothing but the owned tools + ask_user.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
100bfd596d fix(persona): seed peer/teacher/research-assistant presets (#659)
Fresh installs showed an empty Persona list although the docs advertise
three presets. The presets now ship as package data and are seeded into
the admin workspace on first run (idempotent, non-destructive), so they
appear as read-only presets for every user.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
baa49d6879 fix(chat): parse DeepSeek DSML text tool-call markup (#666)
DeepSeek deployments without native function calling emit tool calls as
'DSML' markup in the content channel, so the exec/ppt tool never ran and
the raw markup leaked as the answer. The chat loop now diverts that
markup off the user-facing stream and, when a round yields no structured
tool_calls, extracts the invoke/parameter envelope into real tool calls
that run through the normal dispatch path.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
d21687f83f fix(web): release autoscroll on scrollbar/keyboard scroll-up (#649)
During streaming the rAF re-pinned to the bottom every frame, so
scrolling up via the scrollbar thumb or PageUp/Home/arrows was yanked
back (wheel/touch already released). The loop now checks whether
scrollTop dropped below what it last pinned before re-pinning; a
decrease is unambiguous user intent (overflow-anchor:none means content
growth never lowers scrollTop), so it releases instead.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
630041a1cd fix(memory): make write_memory preference add idempotent (#647)
preferences.md is never auto-consolidated, so a repeated identical
write_memory add persisted forever as a duplicate — common in long,
tool-driven mastery turns. write_preference now short-circuits a
duplicate add to a no-op that reports the existing entry, and the tool
returns an explicit 'already saved' signal to the model.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
198f8c2e1a fix(embedding): route DashScope text models to the text endpoint (#660)
The aliyun binding sent every model through MultiModalEmbedding.call, so
a text model (text-embedding-v3/v4) hit the multimodal endpoint and
failed with HTTP 400 'url error'. The adapter now picks the surface from
the model id (TextEmbedding for text, MultiModalEmbedding for multimodal)
via a single shared predicate, and the resolver surfaces the true
per-model endpoint so the diagnostic no longer misreports it.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
cba24e9271 fix(packaging): cap requires-python below 3.14 (#664)
On Python 3.14 pip finds no wheels for some compiled base deps (e.g.
faiss-cpu) and silently backtracks into a source build that dies with
subprocess-exited-with-error. The heavy RAG extras already carry a
python_version < '3.14' marker; capping requires-python makes pip refuse
3.14 with a readable message instead of a build failure.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
90f40c48f5 refactor(web): make AppShellContext the single source for code-block prefs
#648 kept code-block appearance state in three places — AppShellContext,
SettingsContext (a duplicate useState mirror + direct cross-context setters),
and the appearance page (its own useState + a storage/event listener) — kept
in sync via a custom event and belt-and-suspenders direct setters that a test
comment admitted papered over an effect-ordering worry.

Collapse to one owner. AppShellContext (already consumed by RichCodeBlock)
holds the state and hydrates it after the SSR-safe first render. SettingsContext
now reads the values from useAppShell and its update* setters delegate to the
AppShell setters (which normalize, persist to localStorage, and notify) before
mirroring to the backend; it keeps no local copy. The appearance page reads the
values from the settings context and drops its local mirror + event listener.

Behavior is unchanged (same values render, same persistence); there is just one
source of truth instead of three. Tests updated to assert the new wiring; full
web test suite green (211).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 23:04:47 +08:00
Bingxi Zhao (Frank)
3e7e27dc01 refactor(settings): tighten code-block UI settings backend after #648
Three cleanups to the merged code-block-theme feature:

- Restore Literal validation for theme/language on UISettingsUpdate. #648
  relaxed them to str|None, letting PUT /ui persist values the app can't
  render; keep the None default (for exclude_unset partial merges) but
  validate any explicit value again.
- Drop the dead code_block_* defaults from interface_settings.DEFAULT_UI_SETTINGS.
  That module is read only via get_ui_language() (language only); the keys were
  never consumed. Display defaults live in the frontend, and the router API
  round-trips saved values (None when unset), so there is one owner, not a
  split-brain across two default dicts.
- Remove the redundant pytest async-compat shim from conftest.py: pytest-asyncio
  is a hard dependency and pyproject already declares asyncio_default_fixture_loop_scope.

Deletes tests/multi_user/test_ui_code_block_settings.py, which asserted the
inert get_ui_settings() path; the real contract is already covered by
tests/api/test_settings_router.py.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 22:50:54 +08:00
Bingxi Zhao
ec0746c185 Merge pull request #648 from dryice/feat/code_block_theme
Add a theme selector for code blocks
2026-07-23 22:43:02 +08:00
Bingxi Zhao (Frank)
fc9cc75736 fix(embedding): omit encoding_format by default for OpenAI-compatible gateways
#652 added a guard so the gateway adapter only sends encoding_format when
set, but it was a no-op: EmbeddingRequest.encoding_format defaulted to the
truthy "float", so the guard always fired and the param was still posted —
leaving the #651 HTTP 400 from gateways like SiliconFlow intact.

Fix the root cause: default encoding_format to None. The gateway adapter now
omits it unless a caller explicitly opts in, while the official OpenAI SDK
path keeps pinning "float" (that API expects it). The intentional divergence
is documented at both call sites. Adds a payload test proving the gateway
omits it by default and includes it when set.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 22:42:13 +08:00
Bingxi Zhao
e0023d3214 Merge pull request #652 from eason2026/fix/siliconflow-encoding-format
fix(embedding): don't send encoding_format by default for OpenAI-compatible providers
2026-07-23 22:38:31 +08:00
Bingxi Zhao (Frank)
26d388fc02 refactor(book): drop orphaned openBookSocket after WS migration
The persistent-listener useEffect that used openBookSocket was removed in
#658 when confirm-proposal/compile-page moved onto per-operation sockets
via runBookSocketOperation. The exported helper had no remaining callers;
remove it and keep only the BookWsEvent re-export.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 22:37:21 +08:00
Bingxi Zhao
e098da6696 Merge pull request #658 from suainam/fix/book-websocket-long-operations-dev
fix(book): stream long-running operations over WebSocket
2026-07-23 22:34:57 +08:00
Bingxi Zhao
27ad1f5849 Merge pull request #654 from binyangzhu000-sudo/codex/add-atlascloud-provider
Add Atlas Cloud LLM provider
2026-07-23 22:32:51 +08:00
Bingxi Zhao (Frank)
10a72b076e Merge branch 'dev' into codex/add-atlascloud-provider
# Conflicts:
#	tests/services/test_provider_registry.py
2026-07-23 22:32:18 +08:00
Bingxi Zhao
307d4352b6 Merge pull request #670 from santhreal/fix/safe-filename-strip-controls
fix(partners): strip control chars in safe_filename
2026-07-23 22:30:23 +08:00
Bingxi Zhao
ed078122f0 Merge pull request #644 from santhreal/fix/split-message-nonpositive-maxlen-dev
fix(partners): avoid hang in split_message when max_len <= 0
2026-07-23 22:29:02 +08:00
Bingxi Zhao
d0306b8fa4 Merge pull request #657 from Sanjays2402/fix/codex-url-provider-detection
fix: require explicit OpenAI Codex selection
2026-07-23 22:27:38 +08:00
Bingxi Zhao
b0ec5daba5 Merge pull request #646 from santhreal/fix/update-facts-raw-decode-dev
fix(memory): parse update facts JSON with raw_decode
2026-07-23 22:26:55 +08:00
Bingxi Zhao
2460b3ec7a Merge pull request #645 from santhreal/fix/line-doc-raw-decode-edits-dev
fix(memory): parse line-edit JSON with raw_decode
2026-07-23 22:26:47 +08:00
Bingxi Zhao
5dbf537f34 Merge pull request #668 from santhreal/fix/json-parser-raw-decode-trailing
fix(utils): decode trailing-prose JSON before repair
2026-07-23 22:26:31 +08:00
Bingxi Zhao
3d51623663 Merge pull request #667 from santhreal/fix/quiz-payload-raw-decode
fix(question): parse quiz JSON with raw_decode
2026-07-23 22:26:22 +08:00