Compare commits

...

9 Commits

Author SHA1 Message Date
c4bf216b05 fix(api): restore quota support helper binding 2026-05-10 21:37:58 +08:00
61af895106 chore(docs): remove quota design spec 2026-05-10 21:35:51 +08:00
edde72d26c refactor: remove unused code
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-05-10 21:35:10 +08:00
a6e9de9b3c refactor(api): simplify llm quota helpers
Remove the temporary generic model-type quota helpers now that system-billed models are LLM-only.

Keep the deprecated ModelInstance wrappers as LLM-specific adapters with explicit non-LLM guards and update the quota tests to match the narrower invariant.
2026-05-10 21:34:29 +08:00
01aa6bf11e refactor(api): include model type in quota identity
Add model-type-aware quota helpers at the shared billing boundary while keeping the LLM-specific helpers as thin adapters.

Preserve model_type in the deprecated ModelInstance wrappers and extend the quota unit tests to cover the generic helper delegation path.
2026-05-10 21:33:56 +08:00
5862b27044 docs(api): narrow llm quota spec to tenant-scoped identity 2026-05-10 21:32:52 +08:00
0d1d8699b4 docs(api): add llm quota identity design spec 2026-05-10 21:32:51 +08:00
a4ef246564 fix(api): resolve graphon upgrade CI failures
Repair the plugin model runtime for Graphon 0.3.0 by implementing structured-output support, normalizing non-stream LLM calls, and tightening workflow-layer type safety.

Update the remaining workflow tests to use VariablePool.from_bootstrap(...) and the new node data constructor API so the CI unit and integration suites match the upgraded runtime behavior.
2026-05-10 21:32:51 +08:00
0b8bb85094 chore(api): upgrade graphon to v0.3.0
Adapt the backend Graphon integration to the v0.3.0 breaking changes.

Migrate provider factory and runtime usage, switch workflow node construction to the new data payload API, and refresh backend tests for the updated VariablePool and node behaviors.
2026-05-10 21:31:46 +08:00

Diff Content Not Available