Repository navigation
feat(web): add system one client and handler - #1020
Merged
Merged
Conversation
Add request and response types for all three question primitives, plus an HTTP client and evaluator-backed handler. Assisted-by: GPT-6 via Codex Signed-off-by: Xe Iaso <xe@tigrisdata.com>
Contributor
|
The latest Buf updates on your PR. Results from workflow Go / build (pull_request).
|
Expose Valid on requests and questions so callers can use the shared validation contract. Assisted-by: GPT-6 via Codex Signed-off-by: Xe Iaso <xe@tigrisdata.com>
Pass Ollama image inputs through the client and handler so vision-capable decision models can evaluate them with the state. Assisted-by: GPT-6 via Codex Signed-off-by: Xe Iaso <xe@tigrisdata.com>
Accept image.Image values, fit them within 1280x720, and encode them as JPEGs for Ollama requests. Decode incoming wire images for handler evaluators. Assisted-by: GPT-6 via Codex Signed-off-by: Xe Iaso <xe@tigrisdata.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.
Summary
Details
The package validates request shapes, supports structured JSON fields and optional bearer authentication, converts Go images into ordered base64 JPEGs within 1280×720 pixels, and delegates handler evaluations to an injected backend.
Test plan
go build ./...npm run format(Go files passgo tool goimports -d)go test ./web/systemoneandgo vet ./web/systemone