mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
A second POST to /reclassify on the same KB spawned an independent pass over the same pages, doubling LLM spend and racing the first pass's page-type writes. Add a per-KB in-flight guard that rejects a concurrent run with a friendly message (409 via R.fail rather than a generic 500), released in a finally once the async pass completes. Also count and broadcast per-page failures so an all-failing run is visible instead of reporting changed=0, and type the api modelId param as string|number per the snowflake ID convention. |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| pom.xml | ||
| settings.xml | ||