Commit Graph

465 Commits

Author SHA1 Message Date
Bingxi Zhao
92a2fcf077 Merge pull request #1052 from evan188199-tech/codex/fix/book-language-options 2026-08-29 11:51:18 +08:00
Bingxi Zhao
4c4ae414f7 Merge pull request #1075 from evan188199-tech/codex/fix/deepseek-responses-web-search 2026-08-29 11:50:51 +08:00
Bingxi Zhao
f3d43d969b Merge pull request #1025 from evan188199-tech/codex/fix/code-execution-file-artifacts 2026-08-29 11:50:04 +08:00
Bingxi Zhao
acddbb327e Merge pull request #1057 from dongyu-will/codex/deep-question-validation 2026-08-29 11:49:40 +08:00
Bingxi Zhao
a53b5df302 Merge pull request #1050 from ZQR1101/fix/ask-user-unicode-decode-backend 2026-08-29 11:28:49 +08:00
Bingxi Zhao
f12ba50a53 Merge pull request #1043 from evan188199-tech/codex/fix/clawhub-publisher-refs 2026-08-29 11:28:03 +08:00
Bingxi Zhao
8173b7a8f1 Merge pull request #1066 from evan188199-tech/codex/fix/jina-retrieval-roles 2026-08-29 11:27:58 +08:00
Bingxi Zhao
bb37982279 Merge pull request #1017 from ZQR1101/fix/partner-output-fallback 2026-08-29 11:27:52 +08:00
XZH
3954e55b38 fix(llm): enable DeepSeek Pro native web search (#846) 2026-08-28 19:38:39 -07:00
XZH
f3c613c842 fix(knowledge): explain scanned PDF parse failures 2026-08-28 12:40:39 -07:00
XZH
f65ce2abd5 fix(embedding): enable Jina retrieval roles 2026-08-28 09:23:28 -07:00
weidongyu
e0664b21bb fix(question): validate topic before generation 2026-08-28 17:09:59 +08:00
ZQR1101
81e5ff8e3d fix(tools): decode unicode escapes in ask_user payloads
Models sometimes emit literal \\uXXXX runs in ask_user and mastery_quiz tool args. Decode dense non-ASCII runs when building learner-facing payloads so cards do not leak escapes (#973).
2026-08-28 13:21:08 +08:00
XZH
c9920a237c feat(book): infer requested language 2026-08-27 20:27:37 -07:00
XZH
b984b8709c fix(skills): scope ClawHub installs by publisher (#639) 2026-08-27 11:19:22 -07:00
Bingxi Zhao (Frank)
bd9f6a7625 release: v1.6.0 — connected learning workspaces
Release notes: assets/releases/ver1-6-0.md

Ship source-faithful reading, Courses and Little Tutor, Ask Questions,
bounded web-source sync, and shared Books with private reader state.
2026-08-27 22:03:09 +08:00
XZH
8b24f1ae67 fix(tools): route file generation through code execution 2026-08-26 19:19:54 -07:00
ZQR1101
0d1696abdc fix(partners): serve partner artifacts from output downloads
When a partner chat generates files, resolve /api/outputs against the caller''s visible partner workspaces after their own scope misses so partner images stop 404ing in the web UI.
2026-08-26 17:17:08 +08:00
Bingxi Zhao
8e281c6e27 Merge pull request #996 from zhou2030109-glitch/codex/selection-tutor-learning-spaces
feat: add selection tutor and course workspaces
2026-08-26 02:41:02 +08:00
Bingxi Zhao
91e1f32b20 Merge pull request #904 from evan188199-tech/codex/split-web-source-sync
feat: add bounded web source sync
2026-08-26 02:35:55 +08:00
Bingxi Zhao (Frank)
5684e6eab4 fix(knowledge): secure and reconcile web source sync 2026-08-26 02:26:58 +08:00
Bingxi Zhao (Frank)
48c39084cf fix(ci): validate release tags and protect latest 2026-08-26 02:26:58 +08:00
XZH
e12d97b58f fix(knowledge): enforce web source sync bounds 2026-08-26 02:26:58 +08:00
XZH
40e35a79b3 test(ci): cover release tag classification 2026-08-26 02:26:58 +08:00
XZH
0d8b734a76 feat(knowledge): add web source sync 2026-08-26 02:26:58 +08:00
Bingxi Zhao (Frank)
69b472b109 fix(courses): enforce organization and tutor grounding integrity 2026-08-26 02:25:23 +08:00
diffaudit-review
cdbcacace4 fix: ground selection tutor in source message
Short selections such as rc carried only the raw token and an opaque parent session id. Capture the containing message id, resolve it from the parent session, and provide both the source message and exact selection to the tutor prompt.
2026-08-26 02:25:23 +08:00
diffaudit-review
3709c9e854 feat: add selection tutor and course workspaces 2026-08-26 02:25:23 +08:00
Bingxi Zhao (Frank)
693772a542 fix(chat): integrate guarded output with ask questions 2026-08-26 02:10:58 +08:00
Bingxi Zhao (Frank)
11c0a1ed68 fix(chat): preserve ask-user protocol across fallbacks and history 2026-08-26 02:08:46 +08:00
SeleiXi
213508b526 fix(session): place ask_user clarifications before assistant answer
Resolved ask_user exchanges happened before the assistant produced the
row's answer, so they must precede the row's content in both
_build_history() and format_messages_as_transcript(). The previous order
(assistant content first, clarification second) made later turns see the
answer before the user supplied the missing context, confusing the model
and polluting rolling summaries.

Update the test that had locked in the wrong order.
2026-08-26 02:08:33 +08:00
SeleiXi
81e9830452 fix: rehydrate ask_user answers into later-turn context
get_messages_for_context only loaded role/content, so extract_ask_user_clarifications always saw empty events and the model forgot prior card Q&A.
2026-08-26 02:08:33 +08:00
SeleiXi
5c45c38e4a fix: make ask questions card deterministic 2026-08-26 02:08:33 +08:00
SeleiXi
4c9df02a97 feat: add context-aware ask questions mode 2026-08-26 02:07:39 +08:00
Bingxi Zhao (Frank)
ce3532b7f8 fix(mastery): validate guarded finishes before streaming 2026-08-26 01:52:26 +08:00
XZH
b4bbe20e87 fix(mastery): redirect plain-text quizzes to cards 2026-08-26 01:52:26 +08:00
Bingxi Zhao
2620180ea1 Merge pull request #1007 from ZQR1101/fix/mastery-composer-clarifying
fix(mastery): don't freeze choice gates on clarifying composer text
2026-08-26 01:52:16 +08:00
Bingxi Zhao
3016e1575d Merge pull request #772 from KevinXia69/codex/fix-context-compaction-budgets
fix: bound conversation compaction budgets
2026-08-26 01:40:08 +08:00
Bingxi Zhao
e56bc10b3e Merge pull request #977 from aiheluo/fix/kimi-k3-temperature
fix(llm): drop temperature for bare Kimi model ids (k3) on the coding endpoint
2026-08-26 01:39:17 +08:00
Bingxi Zhao (Frank)
8525527836 fix(mastery): require explicit choice answer intent 2026-08-26 01:33:31 +08:00
ZQR1101
85602ca161 fix(mastery): don't freeze choice gates on clarifying composer text
Composer clarifying questions on a choice card were persisted as the formal
answer, after which mastery_grade could never map them to an option and the
gate stalled. Skip unreadable commits and allow a later readable pick to
recover already-stuck interactions.
2026-08-26 01:31:31 +08:00
Kevin Xia
5c6b1d5c8d fix: bound conversation compaction budgets 2026-08-26 01:30:42 +08:00
Bingxi Zhao
437efd5aa2 Merge pull request #1003 from ningkaikok/feat/native-web-search-responses
feat(llm): map web_search to native Responses tools for server-side search
2026-08-26 01:29:52 +08:00
Bingxi Zhao
1db94abc1c Merge pull request #1006 from googio/feat/serply-search
feat(search): add Serply provider with web, news and scholar modes
2026-08-26 01:28:51 +08:00
Bingxi Zhao (Frank)
d80dee48a3 fix(llm): scope bare Kimi model overrides exactly 2026-08-26 01:28:16 +08:00
Bingxi Zhao (Frank)
159edefaac fix(llm): make native web search terminal and model-scoped 2026-08-26 01:22:30 +08:00
宁凯
d9962666a8 feat(llm): map web_search to native Responses tools for server-side search
Providers whose Responses API performs web_search server-side (DeepSeek
V4, #846) declare the tool as {"type": "web_search"} instead of a
function schema, run the search mid-generation, and return web_search_call
output items with url_citation annotations.

- convert_tools(): map the web_search function tool to the native schema
  when the provider spec sets native_web_search
- parsing: synthesize a server_executed-marked web_search ToolCallRequest
  from web_search_call items and url_citation annotations across all three
  consumers (SSE, SDK stream, non-streaming), with tail-merge for
  annotations that stream after the search item completes
- convert_messages(): replay server-executed calls as web_search_call
  items and skip their function_call_output pairing
- assistant_message_with_tool_calls(): keep provider_specific_fields so
  the server_executed marker survives into the conversation history
- tool_dispatch: short-circuit server-executed calls with a stub result
  carrying the citations as sources — the local web_search tool never
  re-runs a search the provider already performed
2026-08-26 01:22:30 +08:00
Bingxi Zhao
22b70c3ab3 Merge pull request #1008 from ZQR1101/fix/tool-schema-fallback-matcher
fix(llm): stop matching bare 'tool' in schema-fallback detector
2026-08-26 01:21:54 +08:00
Bingxi Zhao (Frank)
57a2631804 fix(search): align Serply requests with documented API 2026-08-26 01:06:36 +08:00
serply
6c1a615ed1 feat(search): add Serply provider with web, news and scholar modes 2026-08-26 01:05:03 +08:00