Repository navigation
v0.2.0-alpha.13
Pre-release
Pre-release
·
85 commits
to main
since this release
Router by_session multi-turn split preservation, qwen/qwen3-4b & qwen/qwen3-8b router support, TLS-aware trainer endpoints with unpinned next_seq resync, and Python/TypeScript SDK ergonomics polish. Zero new database migrations.
- Router Recipe & Policy Fixes (
server/api,server/trainer, Python SDK):- Enabled
qwen/qwen3-4b(lr=4e-4) andqwen/qwen3-8b(lr=3e-4) forRouterRecipein the model catalog. - Preserved shared multi-turn
session_idacrossRouterRecipeby_sessionsplits in both the API planner and trainer (falling back togroup_idonly whensession_idis absent or inconsistent within a prompt group), preventing cross-split session leakage. - Hardened
RouterPolicy.route()/evaluate()to rejectNaN/Inf/boolcandidate probabilities and distinguish explicitlambda_=None/threshold=Nonefrom omitted defaults via a sentinel. - Added typed
EvalReport&RouterParetoSummaryrouter fields, improvedrun_byo_eval(session_id,score_name,pricing,error_samples), and surfaced clearer router skip reasons when records lack numeric scores.
- Enabled
- Trainer Endpoints, Losses & Billing (
server/api,server/trainer, Python SDK):- Fixed
POST /v1/trainers/:id/endpoint-tokensto honor validatedx-forwarded-proto/x-forwarded-hostheaders behind TLS-terminating ingress (with HTTPS preservation in the Python SDK), preventingConnectTimeouton Cloud trainer endpoints. - Automatically resynced
next_seqin PythonTrainerafter unpinnedtrainer.endpoint()traffic to prevent409 seq_conflicton subsequent ops. - Fixed
GRPOKL.stats/SFTKL.statsentropykwarg handling ingrad_trainer/losses.py, exposedTrainer.cost_usd&Trainer.tokens_processed, and added backward-compatibledatasets.push()fallback +/v1/whoamibare-404 handling.
- Fixed
- SDK Ergonomics & Breaking DX Cleanups (Python & TypeScript SDKs):
- Breaking: Changed
Dataset.records()/Datasets.records()solimitcaps the total yielded records (addingpage_sizefor server pagination control) and yieldsAttrDictrecords supporting bothr["messages"]andr.messages. - Breaking: Changed
Trainer.log_metrics(metrics, *, step=None, timestamp=None)(Python) andTrainer.logMetrics(metrics, { step?, timestamp? })(TypeScript) to metrics-first withstepdefaulting to the trainer's current step. - Added
SaveStateResult.id/.checkpoint_id/.step,SampleResult.text/.texts,AttrDictconversion forSample.message,thinking=forwarding onsample()andsample_stream(), and disabledAPIObjectsequence fallback (__iter__ = None) so accidental iteration raisesTypeErrorinstead ofKeyError: 0.
- Breaking: Changed