Requirement: Inference API must support portable multi-turn context for chained Call 1 → Call 2 #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Capture a project requirement around how the two inference calls (vision taxonomy + descriptive text) share context, so the design stays portable across API providers.
Background
Current design makes two separate calls to the inference engine:
We are exploring enriching Call 2 by also giving it the vision images, with explicit labels marking which dimensions/species/attributes are confirmed vs inferred. This would let Call 2 ground its prose in the actual grain, figure, spalting, and color rather than only labels.
The portability issue
If Call 2 continues the same thread as Call 1 (retaining the images and Call 1's reasoning in the context window), behavior depends on the provider:
previous_response_id— server retains the full thread incl. images; client sends only the new turn.The proxy is specified as "OpenAI-compatible," but that usually means the chat-completions shape, not Responses-style statefulness. Swapping to Claude or a generic gateway would silently break chaining.
Proposed requirement
previous_response_id(or equivalent) may be used only as an optional optimization, and only when the configured provider is known to support it.Acceptance criteria
previous_response_idis universally available.Notes