Commit Graph

272 Commits

Author SHA1 Message Date
Bingxi Zhao
86aea7b4c5 Merge pull request #1635 from evan188199-tech/codex/feat/bilingual-source-pairing
feat(web-source): add bilingual source pairing (#902)
2026-10-04 14:00:11 +08:00
Bingxi Zhao (Frank)
be4c144171 Merge dev while preserving futureinfra and existing provider contracts 2026-10-04 13:58:31 +08:00
Bingxi Zhao (Frank)
6a236e7b62 Merge dev to retain Requesty and API Route provider registrations 2026-10-04 13:54:09 +08:00
uxidev
cce8292ecc feat: add FutureInfra as an LLM provider
Register FutureInfra as an OpenAI-compatible gateway provider (env FUTUREINFRA_API_KEY, base URL https://futureinfra.ai/v1/ai, alias future_infra) with tests mirroring the Cheaper Inference provider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 00:25:03 +09:00
dennyho0917
8972c8786a feat: add API Route LLM gateway provider 2026-09-30 14:01:30 +08:00
XZH
0e260130be feat(web-source): add bilingual source pairing (#902)
Add bilingual page pairing and language variant alignment for web sources:
- Detect page language variants via hreflang alternate links and URL language prefix patterns.
- Record pairing relations in durable SQLite repository and KB web-source metadata.
- Expose pairing relations via GET /api/knowledge-bases/{kb_name}/web-source/{source_id}/pairings and WebSourceInfo.
- Display bilingual pairing indicator in the KB web sources section with localization across en, zh, de, fr, uk.
- Add targeted tests for pairing detection, repository persistence, and API exposure.

Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 14:58:51 -07:00
Thibault Jaigu
21de8bf0c8 test: cover Requesty provider registry and runtime resolution 2026-09-28 20:20:13 +01:00
Bingxi Zhao (Frank)
55b1b14769 test(update): isolate positive flows from runner systemd service 2026-09-27 11:38:29 +08:00
Bingxi Zhao (Frank)
ffe74e2fbc fix(chat): handle direct RAG kwargs and isolate tool settings test 2026-09-27 11:17:47 +08:00
Bingxi Zhao (Frank)
5e7be659a2 Preserve retrieved source visuals for vision answers 2026-09-27 10:57:00 +08:00
Bingxi Zhao (Frank)
3a0ed2b560 fix(turns): surface and retry orphaned worker loss (#1570) 2026-09-27 04:55:15 +08:00
Bingxi Zhao (Frank)
1e1e02beae fix(co-writer): keep automark annotations readable (#1603) 2026-09-27 04:55:15 +08:00
Bingxi Zhao (Frank)
e02c82bdf0 fix(update): refuse in-app handoff inside systemd services (#1555) 2026-09-27 04:52:21 +08:00
Bingxi Zhao (Frank)
550268e1e3 fix: support Malay as a persistent reply language 2026-09-27 04:37:15 +08:00
Bingxi Zhao (Frank)
68a9de1255 Merge remote-tracking branch 'origin/dev' into codex/pr1602-fix 2026-09-27 03:27:16 +08:00
Bingxi Zhao (Frank)
0e6761bc35 fix(web): recover every unaccepted chat submission 2026-09-27 03:27:08 +08:00
Bingxi Zhao
06a5a8443b Merge pull request #1563 from wumajiehechuan-lab/fix/dashscope-stt-realtime-model
fix(voice): use realtime DashScope STT model ids
2026-09-27 03:22:03 +08:00
Bingxi Zhao
0bc78fc90a Merge pull request #1583 from polaris-smart/fix/fastapi-lazy-include-tests
test(api): adapt knowledge_router/file_preview tests to lazy route inclusion
2026-09-27 03:17:52 +08:00
Bingxi Zhao (Frank)
467d0adba2 test(api): preserve auth dependencies for eager preview routes 2026-09-27 02:56:13 +08:00
Bingxi Zhao
2902e09699 Merge pull request #1592 from dxhome/preserve-generated-partner-attachments
fix: preserve generated Partner attachments
2026-09-27 02:39:07 +08:00
Bingxi Zhao
8d403b9ebb Merge pull request #1571 from aiapienthusiast/feature/cheaper-inference-provider
feat: add Cheaper Inference as an LLM provider
2026-09-27 02:36:55 +08:00
XuanDu
a988f88778 fix: preserve generated partner attachments 2026-09-25 19:35:32 +08:00
Philipp Eisbacher
9b139a772f feat(i18n): add German as a full interface language
Adds `de` alongside en/zh/fr/uk, following the seams the Ukrainian locale
established: the interface-language normalizers (settings + launcher), the
Settings language list, APP_LANGUAGES / normalizeLanguage, the lazy bundle
loader, the date locale, the CLI banner labels, the quiz-judge prompt and
the i18n audit's required locales. German already existed as a reply
language; this makes it selectable for the UI as well.

`web/locales/de/app.json` covers all 5200 English keys (audit: 3850/3850
used keys, strict). `language.german` is added to every catalog.

Tests: `tests/i18n/test_german_locale.py` pins each seam, and
`web/tests/german-locale-quality.test.ts` guards terminology (informal
"du", one term per concept, no context-free machine translations such as
"Lappen" for RAG). Three existing tests used `de` as their example of an
unsupported language; they now use `xx`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 22:00:58 +02:00
polaris-smart
664f8a61ab test(api): adapt knowledge_router/file_preview tests to lazy route inclusion
Newer FastAPI resolves include_router lazily, so iterating app.routes yields
_IncludedRouter placeholders without a .path attribute — the learner-surface
template tests crashed on attribute access instead of asserting routes, and
the file-preview auth test counted 0 routes (assert 0 == 2).

Adapt the two suites to resolve included routers through the same
iter_routes pattern video_learning's tests already use, so route
enumeration works under both eager and lazy inclusion.

This clears the pre-existing red on dev (the v1.6.11 release commit runs
red on these suites in CI) — verified: 130 passed across the two files.
2026-09-25 02:00:06 +08:00
Bingxi Zhao (Frank)
a053fecf6e release: v1.6.11
The interface ships in French and Ukrainian alongside English and
Chinese, and /language pins a reply language for one conversation.
Immersive reading organizes collections as colored folders, adds a
fullscreen learning mode, and turns Explain / Translate / Guide me on a
selection into ordinary messages in the reading chat; "Quiz me on this
page" runs one quiz turn without changing the conversation's mode, which
retires the reading-openers endpoint and its task model. Images embedded
in DOCX, PPTX and PDF are extracted in place and reach vision models.

Office files preview as paged PDFs through LibreOffice (now in the Docker
image), falling back to the in-browser renderers without it. Web sources
re-sync on a durable schedule, linked folders sync on demand, .bib files
index, and a zotero_search tool queries Zotero. Settings gains Learning
progress and credential-free presets; admins import users from CSV;
split deployments can hand a session to a public device. Grok CLI joins
the subagents, Unifically the providers, ChatGPT exports the importers.

Gate cleanup: mypy/bandit findings in the new launcher, audio-overview,
web-source, reading-store and textbook modules; the task-model copy test
follows the retired reading_openers kind.

See assets/releases/ver1-6-11.md for the full notes, and the README
Releases row plus its eleven translations.
2026-09-24 09:59:56 +08:00
aiapienthusiast
db90f3998b Add test for cheaperinference provider choices 2026-09-23 19:15:27 +04:00
Bingxi Zhao (Frank)
66ba712172 fix(reading): make selection actions reliable and sync reading sessions
- Strip PDF margin line numbers before verifying a selection, so explain
  and guide no longer fail with "Select text from the visible unit first".
- Quiz, vocabulary and study guidance go through
  json_with_reasoning_retry with a larger token budget; reasoning models
  exhausting max_tokens returned an empty answer that surfaced as
  "This reading action is temporarily unavailable" (503).
- Renaming or deleting a reading conversation from the main sidebar
  updates the reading catalog too.
2026-09-23 18:59:02 +08:00
Bingxi Zhao (Frank)
0558356d14 Add opt-in cross-browser Partner conversation continuity 2026-09-23 13:34:08 +08:00
wumajiehechuan-lab
cdc36c31d3 fix(voice): use realtime DashScope STT model ids
The native DashScope STT adapter talks to the Paraformer real-time WebSocket
endpoint (`/api-ws/v1/inference`, `task_group=audio`, `function=recognition`),
which only accepts `paraformer-realtime-*` model ids. `paraformer-v2` is a
batch-transcription id, so the pre-filled default made every DashScope STT test
fail the handshake:

    [failed] DashScope STT failed to start: Model not found (paraformer-v2)!

Point the provider default and the curated voice options at
`paraformer-realtime-v2` (and offer the 8 kHz variant), and update the tests
that pinned the old id.

Verified against the live endpoint with the real adapter: `paraformer-v2`
answers `task-failed/ModelNotFound`, `paraformer-realtime-v2` answers
`task-started` and returns a transcript.
2026-09-22 21:21:22 -07:00
Bingxi Zhao (Frank)
83ffee9e54 Merge remote-tracking branch 'origin/dev' into codex/pr-synthesis-20260923 2026-09-23 12:18:50 +08:00
Bingxi Zhao (Frank)
b7a5461948 test(workspace): isolate migration lease in API fixture 2026-09-23 12:17:12 +08:00
Bingxi Zhao (Frank)
55490af65e Merge issue fixes into PR synthesis
Combine knowledge bootstrap coverage and preserve later progress-isolation tests, native notebook tooltip, and locale-aware tool-hint fallback. Regenerate frontend contracts and align test fixtures with merged APIs.
2026-09-23 12:06:19 +08:00
Bingxi Zhao (Frank)
8880529c65 Merge PR batch with local follow-up fixes
Preserve precise learner KB route guards, combine UI and response language domains, carry normalized EPUB extraction, and regenerate frontend contracts.

Update locale fallback coverage for the completed Ukrainian translation bundle.
2026-09-23 12:01:14 +08:00
Bingxi Zhao (Frank)
924f8cd227 fix(learning): preserve latest assessment projections on retries (#1542) 2026-09-23 11:12:04 +08:00
Bingxi Zhao (Frank)
5868e8acfa fix(session): replay saved request on failed turn resend 2026-09-23 11:06:35 +08:00
Bingxi Zhao (Frank)
ad2b28afba Merge language and voice follow-up fixes 2026-09-23 11:02:23 +08:00
Bingxi Zhao (Frank)
2faceb1f5a fix(knowledge): persist reindex hashes only for indexed sources (#1481) 2026-09-23 11:00:54 +08:00
Bingxi Zhao (Frank)
e750a8ddd0 fix(multi-user): restore prior grant if preset update fails 2026-09-23 11:00:37 +08:00
Bingxi Zhao (Frank)
02cef7596a fix(learning): persist cross-surface assessment evidence safely (#1542) 2026-09-23 11:00:32 +08:00
Bingxi Zhao (Frank)
064034a283 Merge branch 'codex/evan-backend-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/api/routers/settings.py
#	tests/api/test_settings_router.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/components/settings/SettingsOverview.tsx
#	web/context/app-shell-storage.ts
#	web/features/knowledge/api/sources.ts
#	web/features/settings/store/SettingsStore.tsx
2026-09-23 10:56:37 +08:00
Bingxi Zhao (Frank)
fc0e0a9510 Unify French and Ukrainian language settings across app 2026-09-23 10:51:27 +08:00
Bingxi Zhao (Frank)
dfc4956eda Merge branch 'codex/pr-krypton-zqr-20260923' into codex/pr-batch-root
# Conflicts:
#	web/components/notebook/NotebookRecordRow.tsx
2026-09-23 10:51:03 +08:00
Bingxi Zhao (Frank)
777babc382 Preserve linked-folder sync snapshots and empty KB bootstrap 2026-09-23 10:49:20 +08:00
Bingxi Zhao (Frank)
e5598a72c5 Harden trusted handoff proxy and ticket lifetime; normalize CSV rows 2026-09-23 10:47:53 +08:00
Bingxi Zhao (Frank)
9453350015 Stage presets with canonical settings extension keys after #1383 2026-09-23 10:47:52 +08:00
Bingxi Zhao (Frank)
dadb762744 Merge pull request #1360 from fetw882/feat/grok-cli-connector
feat: add Grok CLI subagent connector
2026-09-23 10:34:26 +08:00
Bingxi Zhao (Frank)
915a5ae57b Merge commit 'refs/pr/1482' into codex/evan-backend-prs-20260923
# Conflicts:
#	deeptutor/api/routers/auth.py
#	tests/services/config/test_runtime_settings.py
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:29:26 +08:00
Bingxi Zhao (Frank)
1dff2a2424 Merge commit 'refs/pr/1385' into codex/evan-backend-prs-20260923 2026-09-23 10:28:46 +08:00
Bingxi Zhao (Frank)
6ad2dab582 Merge PR #1488 empty KB bootstrap 2026-09-23 10:28:42 +08:00
Bingxi Zhao (Frank)
97573a3624 Merge commit 'refs/pr/1383' into codex/evan-backend-prs-20260923
# Conflicts:
#	deeptutor/api/routers/settings.py
#	web/components/settings/SettingsOverview.tsx
#	web/contracts/generated/api.ts
#	web/contracts/schema/openapi.json
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:28:42 +08:00