Commit Graph

147 Commits

Author SHA1 Message Date
Adithya
0dd67bb35f test: complete chat SDK doubles and verify wire requests 2026-11-11 15:02:50 +05:30
Adithya
9d8742e994 fix: sanitize raw agentic chat replay messages 2026-11-11 14:07:44 +05:30
Bingxi Zhao (Frank)
7948deb5f5 Merge #2349 from rudycelekli 2026-11-06 01:56:24 +08:00
Bingxi Zhao (Frank)
89d6c960b1 Merge #2337 from yertYang 2026-11-06 01:56:24 +08:00
Rudy Celekli
d516269b43 fix(runtime): apply the tool-call id fallback in run_labeled_step
run_labeled_step returned tool calls via the accumulator's raw ordered()
view, which keeps id="" when a provider streams a tool call without an id
delta. The sibling consumers use collected(), which applies the positional
id and arguments fallbacks. Switch to collected() so a tool call made by an
id-less gateway is still correlatable and passes the non-empty-id schema.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-02 01:14:01 -05:00
yert
4e113d0e4f fix(llm): preserve custom headers in Codex OAuth requests 2026-11-02 04:07:25 +00:00
RRFZ
bd5c2854a3 fix(question): let mimic mode parse an uploaded exam PDF on Windows
Mimic mode wrote the uploaded paper into a NamedTemporaryFile with
delete=True and handed its name to the parse service while the handle
was still open. The parse service reopens the file by path to hash it
for the parse cache, and on Windows a file held with delete-on-close
cannot be reopened, so every uploaded paper failed with
PermissionError before any engine ran. The error is not a MinerUError,
so it escaped the capability's handler.

Write the paper into a TemporaryDirectory and close it before parsing.
The directory is removed afterwards, as the temporary file was.
2026-10-31 20:49:41 -04:00
Bingxi Zhao (Frank)
81ab035e03 Merge dev preserving CloudGPU and LLMTR provider integrations 2026-10-31 18:36:30 +08:00
Bingxi Zhao
7db39b4b03 Merge pull request #2142 from 1akashkalita/fix/animation-visual-review-option
Expose opt-in visual review for generated animations
2026-10-31 18:31:15 +08:00
Bingxi Zhao
aaaa7420ac Merge pull request #2156 from knowhycodata/add-llmtr-provider-dev
feat(providers): add LLMTR as an OpenAI-compatible gateway
2026-10-31 18:30:49 +08:00
Bingxi Zhao
88ac6996d8 Merge pull request #2187 from harshdazz/fix/agentic-reasoning-temperature
fix(llm): leave temperature out for gpt-5 and o-series agentic calls
2026-10-31 18:22:15 +08:00
Rudy Celekli
f812c0d5a3 fix(runtime): wake input waiters on their owning loop
Keep the input queue with its event loop and register it before publishing
the prompt. Hand input back through the owning loop, with a protected
listener batch so concurrent cleanup cannot lose another waiter.

AI-assisted: prepared and validated with OpenAI Codex. Maintainer review
is pending.
2026-10-30 23:48:57 -04:00
Harsh
897c210076 fix(llm): drop temperature for bare o-series ids on custom endpoints 2026-10-30 21:11:52 +05:30
Harsh
20d95a9bad fix(llm): leave temperature out for gpt-5 and o-series agentic calls 2026-10-30 15:56:12 +05:30
knowhy
6f63e033db feat(providers): add LLMTR as an OpenAI-compatible gateway 2026-10-29 07:48:11 +00:00
Akash Kalita
6e611fe5df fix: expose opt-in visual review for animations 2026-10-28 21:11:03 -07:00
Cursor Agent
85f5d1c308 feat(providers): add CloudGPU as an OpenAI-compatible gateway
Register the CloudGPU provider spec, settings and runtime tests, and the official site icon.

Co-authored-by: CloudGPU <mrhy7176@users.noreply.github.com>
2026-10-29 00:12:41 +00:00
Bingxi Zhao (Frank)
c1b238c162 Merge pull request #2048 into validated PR integration 2026-10-29 00:56:13 +08:00
Bingxi Zhao (Frank)
80a7dc2b34 test: keep dev CI contracts robust to formatting and worker startup 2026-10-27 22:00:54 +08:00
Bingxi Zhao (Frank)
addb783d2f Merge preview and CI fixes into video lesson branch 2026-10-27 01:40:39 +08:00
Bingxi Zhao (Frank)
6bbcc00c55 Merge dev into preview, preserving preview features
Integrate dev fixes with preview's Python/TypeScript schedulers, chat queue, learning navigation, and live turn persistence.
2026-10-27 01:16:58 +08:00
Bingxi Zhao (Frank)
28c11e2ae8 feat: update notes, chat interactions and workspace UI on preview
Remove course pages, APIs and the course_study capability. Add anchored note
threads and reviewed learning-block generation, queued and withdrawable chat
messages, quote attachments, side chats, and the calendar/favorites/navigation
updates.

Keep preview's existing backend architecture. Wire the new features through
its Python application and existing chat engine, retain legacy selected-text
requests, persist mid-turn messages in replay, and restore note context when
regenerating. Leave stored user data intact.

Validate frontend contracts, dependency boundaries, types, 1290 node tests,
840 rendered tests, lint, localization and the production build. Exercise
session/notes/API regressions, 53 chat-engine tests and 20 Python/native
integration tests with isolated runtime data.
2026-10-26 22:13:34 +08:00
Nirupam Bhowmick
ff28e0eb19 feat(providers): add Runcrate as an OpenAI-compatible gateway 2026-10-24 23:03:20 +01:00
SeleiXi
6b7897a32f feat(video_lesson): register the video lesson capability
`video_lesson` (CLI alias `lesson`) turns a question into a playable
Remotion explainer:

1. code_generation: the lesson writer drafts Lesson.tsx
2. render_check: compile and frame-check it, feeding failures back,
   up to three attempts
3. render_output: write the player page and emit it as an html artifact,
   along with the lesson's summary and source

npm packages are installed on first use while the first LLM call is
still running. The capability reports itself unavailable when node or
npm is missing. Its LLM budget lives under plugins.video_lesson in
agents.yaml (48k tokens by default: a whole lesson comes back in one
reply).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:58:03 +08:00
Bingxi Zhao (Frank)
9aae961412 Merge PR #1957: separate private source evidence from explicit public presentation 2026-10-19 00:53:44 +08:00
Bingxi Zhao
63621137a4 Merge pull request #1911 from Owaid0723666/feat/add-onomeo-provider
feat(providers): add onomeo as an OpenAI-compatible gateway
2026-10-15 03:23:16 +08:00
yepyhun
755686264d fix(mastery): separate source inspection from assessment delivery 2026-10-13 13:49:35 +02:00
yepyhun
136c41fb71 test(agentic): reproduce schema-valid null rejection 2026-10-13 00:34:53 +02:00
Owaid0723666
bfdfb18e48 feat(providers): add onomeo as an OpenAI-compatible gateway
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:54:36 +09:00
Bingxi Zhao (Frank)
6cf793bd86 release: v1.6.14
Ship original-source visual practice, recoverable indexing, unified video
Reading, scientific research tools, managed plugins, and a learning journal
as summarized in assets/releases/ver1-6-14.md.

Improve provider setup and protocol-aware endpoints. Restore missing
localized setup and Ukrainian UI text, keep plugin loading in the plugin
layer, harden research XML parsing, and repair isolated test fixtures and
type-checking errors found by the release gate.

Sync README prose and all eleven translations, bump the package version,
and update the stable release announcement.

Validation: 10180 Python tests and 8 subtests passed (28 skipped); 1303
Node tests passed on Node 22; 24 provider UI tests passed. All pre-commit
hooks, ruff, translation checks, documentation checks, and docs build passed.
2026-10-08 11:34:42 +08:00
Bingxi Zhao (Frank)
8986c31580 feat(reading): complete Watching convergence with safe legacy migration (#1378)
Adapted the migration foundation from PR #1384 while preserving current workspace, caption and turn-admission safeguards.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-08 02:48:50 +08:00
Bingxi Zhao (Frank)
081c9e6d98 fix(chat): bound cold-start stream waits and avoid nested retries (#1421) 2026-10-08 00:00:30 +08:00
Wu Shuwen
259bb43e3d fix: embedding local keyless, qwen3-Instruct thinking, embedding concurrency (#1797)
* fix(embedding): do not serialize requests when batch delay is zero

The spacing lock was held around every embedding HTTP call, so concurrent indexing stayed serial even when batch_delay was 0.

Fixes #1779

* fix(embedding): treat LAN Lemonade endpoints as keyless local servers

OpenAI-compatible profiles pointed at a private Lemonade port were still required to have an API key, so LlamaIndex knowledge bases failed to initialize.

Fixes #1782

* fix(reading): keep headings that follow fenced code examples

The reader treated any line starting with the fence character as a toggle, so an example fence swallowed every later heading.

Fixes #1641

* fix(learning): hide surfaces a learner account cannot use

The auth status already returned the learning policy, but the sidebar ignored it, and model options answered 403 for those accounts.

Fixes #1222

* fix: three bug fixes - embedding local keyless, qwen3-instruct enable_thinking, embedding concurrency lock

- fix #1782: embedding resolver now applies sk-no-key-required fallback for local providers (vllm/ollama/lemonade) matching the LLM resolver behavior; also detects local base URLs before returning 'custom' hint so keyless local endpoints (e.g. Lemonade Server on localhost) are classified as local
- fix #1796: exclude -Instruct model variants from qwen3 enable_thinking pattern matching; Qwen3-Instruct/Qwen3-VL-Instruct models reject enable_thinking parameter (provider error 20015)
- fix #1779: global spacing lock no longer held across HTTP embed calls when batch_delay=0, restoring concurrent embedding; lock now only guards the minimum-interval wait and timestamp update; removed redundant post-batch delay; applied same fix to embed_contents

* fix(reading): respect fence indentation and verify learner navigation

* fix(embedding): share start pacing without serializing requests

* fix(embedding): preserve local endpoint protocols across inference

---------

Co-authored-by: Rockynowzzz <198366628+Rockynowzzz@users.noreply.github.com>
Co-authored-by: dajiaohuang <dajiaohuang@users.noreply.github.com>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-10-07 20:51:37 +08:00
Felix
4b6cddbe49 feat: add Opper as an LLM and embedding provider (#1786)
Opper (https://opper.ai) is an EU-hosted AI gateway: 700+ models from
50+ providers behind one OpenAI-compatible API and one key. This adds it
as a named provider. The LLM entry follows the Requesty one (#1631). The
embedding entry follows the OpenRouter one, with a default model and
dimension like the OpenAI entry.

- provider_registry.py: gateway ProviderSpec after FutureInfra. Env
  OPPER_API_KEY, base URL https://api.opper.ai/v3/compat. Base URL
  detection keys on the api.opper.ai host rather than a bare "opper"
  substring, so unrelated URLs that happen to contain it are not claimed.
- Embeddings: Opper serves OpenAI-compatible /embeddings under the same
  base URL. Registered in embedding_endpoint.py (label, default endpoint,
  /embeddings path rule), provider_runtime.py (default
  text-embedding-3-large, 3072 dims) and the GraphRAG OpenAI-compatible
  binding set.
- Tests: registry lookup and base detection, runtime resolution for the
  opper binding and for an openai binding pointed at Opper, the Settings
  LLM choice, native tool calling, the embedding runtime and the GraphRAG
  api_base translation.

Like the other recent gateway additions, it stays out of the curated
init menus, the README and the capability table. Opper model ids are
bare names (claude-sonnet-4-6, gpt-5.4-mini, text-embedding-3-large), so
the existing model-level rules for claude-, gpt-5 and gemini apply as
they are, and the text-embedding-3 rule sends dimensions=3072.

Checked: python -m py_compile on the ten changed files, git diff --check.
Not run locally: pytest, ruff and pre-commit.

Disclosure: I work at Opper.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-10-07 20:50:37 +08:00
yeheboo
6431539efe feat(providers): add Y-API as an OpenAI-compatible gateway (#1791)
Adds a ProviderSpec for Y-API plus the same three assertions the other
gateway rows carry. Declares the Anthropic Messages endpoint through
api_base_by_format, so profiles on this provider can pick that wire.
2026-10-07 20:48:16 +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
Thibault Jaigu
21de8bf0c8 test: cover Requesty provider registry and runtime resolution 2026-09-28 20:20:13 +01:00
aiapienthusiast
cbb0cc4054 Add 'cheaperinference' to client provider list 2026-09-23 19:15:43 +04:00
Bingxi Zhao (Frank)
ffbe0a541b fix(agentic): replay reasoning in repair and report retries 2026-09-23 12:30:01 +08: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)
69790aaeac test(visualize): pin runtime parameters independently of local config 2026-09-23 12:12:32 +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)
69058b48bb fix(rag): avoid false IMA citations on empty and failed search (#1500) 2026-09-23 11:00:37 +08:00
Bingxi Zhao (Frank)
cd24fd3a44 Merge commit 'refs/pr/1387' into codex/evan-backend-prs-20260923 2026-09-23 10:28:52 +08:00
Bingxi Zhao
5c1495b3f6 Merge pull request #1513 from evan188199-tech/codex/fix/rag-empty-result
fix(rag): report empty retrieval results (#1500)
2026-09-23 10:24:47 +08:00
Bingxi Zhao
d43e24a048 Merge pull request #1499 from AoHanBei/fix/llm-key-rotation-exhaust-pool
fix(llm): try every API key after rate limits
2026-09-23 10:24:42 +08:00
Bingxi Zhao
d048b835e8 Merge pull request #1529 from unifically-dev/feat/unifically-provider
Add Unifically LLM provider
2026-09-23 10:22:49 +08:00