Repository navigation
feat(pricing): default new nodes to $0.001 per job (v0.3.61) - #355
Merged
Merged
Conversation
ThreatCrush Security Scan16 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 11 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
ralyodio
added a commit
that referenced
this pull request
Nov 12, 2026
* feat(chat): model router behind model "auto" (DIP 0035) `model: "auto"` (or absent, or auto:fast|standard|high|max) now routes each request: classify the task, score every live model for it (size/family priors, house specialists, learned per-category quality, price, speed, health), pick single / cascade / critique / fuse by expected quality, cost and latency for the effort, run it with deterministic checks, escalation, fallbacks and hedged requests, learn from the outcome, and return a receipt. - lib/router: framework-free classify, registry, stats, planner, verify, engine; 20 tests - lib/chat/routed.ts: Infernet calls billed per user, live pool + price cache, router_stats in SQLite Cloud, JSON/SSE responses, streamed pass-through that still learns; 6 tests - /v1/chat/completions and resumable runs route; any router error falls back to the direct path; C0MPUTE_ROUTER=off disables - POST /api/v1/route explains a plan for free; /v1/models lists auto entries; /chat picker offers auto:fast/high/max Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(container): set an explicit job price cap * test(e2e): test workers keep a zero price floor after #355 #355 made PricingConfig::default() carry a $0.001 minimum; the e2e workers built with it stopped bidding on the buyers' zero caps (inference_e2e: 'no bids received within 2s'). Same fix shape as #357 for container_run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
New nodes and partial configs now default to dynamic pricing with a $0.001 minimum per job. Explicit
min_usdvalues, including zero, remain unchanged. The market/provider documentation describes the default, and the CLI workspace is bumped to v0.3.61.Validation
cargo test -p c0mpute-core --lib— 633 passed.cargo fmt --all -- --checkremains advisory and reports the repository's existing formatting backlog across untouched files.