Proposal: a conformance harness for real inference behavior
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- api, backend-api-design, testing
Direzione di ricerca
Start by locating the new SDK's request and response models and existing tests, then compare them with the older client's typed chat-completion and logprob contracts mentioned in the issue. Confirm the maintainers' preferred first slice before designing the report schema, fixtures, and runner. Done should include an agreed scope and tests demonstrating deterministic behavior reports without an API key.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
A typed SDK can be correct against the API schema and still be unreliable for real inference work. Provider behavior changes at the edges: streaming may end differently, tool calls may be partial, logprobs have nested shapes, context limits may truncate or reject a request, and usage fields can be missing when a request fails halfway through.
Those differences are hard to see from unit tests that validate one response at a time. They show up later as broken agent loops, incorrect accounting, or a client that silently interprets a response differently after an API rollout.
Proposal
Add an opt-in provider conformance harness to the new SDK. It would run a small canonical request corpus and save a versioned behavior report for each model or endpoint.
The report should cover:
- normal and streamed chat responses
- tool-call start, delta, completion, and interruption behavior
- logprob nesting and token alignment
- context-length truncation versus error behavior
- finish reasons and usage accounting
- retryable failures and partial responses
- request and response schema versions
The output should be a diffable artifact, not a dashboard. A change in a model or API rollout should be visible as a contract change with the exact request, response shape, and expected compatibility impact. Raw prompts and completions should be redacted or represented by hashes unless the user explicitly opts in.
Suggested first slice
- Define a small provider-behavior report schema.
- Add deterministic mock streams for the edge cases above.
- Add a conformance runner that works without an API key against those fixtures.
- Add an optional live mode that records sanitized observations from a real endpoint.
- Make report diffs usable in CI so SDK changes and API rollouts can be checked before release.
This should stay separate from the request and response models. It is a diagnostic and compatibility layer around them.
Why this matters
Together is operating across many models and inference modes. A schema tells users what a response is supposed to look like. A behavior report tells them what actually changed. That distinction matters for production agents, long-context requests, streaming consumers, and eval pipelines.
I have been working on typed chat-completion and logprob contracts in the older client, and I have built serving and evaluation systems where partial failures and latency behavior needed to be inspected after the run. I would be interested in taking the SDK-side report format and fixture runner through a focused implementation if this is useful for the new client.
Is this the kind of compatibility problem the Together team would want represented in the new SDK?
- Lingua principale
- Python
- Stelle
- 13
- Fork
- 6
- Merge medio
- 2g 12h
- PR unite (30g)
- 23
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di togethercomputer/together-py
-
Server Sent Events?Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
togethercomputer/together-py#651 ·
I maintainer di solito rispondono entro 1 giorno
-
Eval CSV validation accepts duplicate headers and loses a column valueForse già presa @raunakpandey1 l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
togethercomputer/together-py#700 ·
I maintainer di solito rispondono entro 1 giorno
-
Fine-tuning file size guard rejects 60 GB despite documented 100 GB limitForse già presa @Kayvan-Zahiri l’ha presa 60 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
togethercomputer/together-py#588 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
togethercomputer/together-py#505 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di togethercomputer/together-py
Issue simili
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwiseForse già presa @abdulwaarith0 l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
MakazhanAlpamys/Soup#3690 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug data-types native-format
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ClickHouse/clickhouse-connect#1320 ·
I maintainer di solito rispondono entro 1 giorno
-
Public benchmark import end-to-end test fails when the test stack's worker runs the parity jobApertaaccepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
future-agi/future-agi#6392 ·
I maintainer di solito rispondono entro 1 giorno