Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] RetrieverRequest does not match JS #2197

Closed
ssbushi opened this issue Feb 28, 2025 · 0 comments · Fixed by #2242 · May be fixed by #2227
Closed

[Go] RetrieverRequest does not match JS #2197

ssbushi opened this issue Feb 28, 2025 · 0 comments · Fixed by #2242 · May be fixed by #2227
Labels
bug Something isn't working go

Comments

@ssbushi
Copy link
Contributor

ssbushi commented Feb 28, 2025

Describe the bug
RetrieverRequest does not match JS, this leads to surfaces like Dev UI retriever runner breaking.

JS:

const RetrieverRequestSchema = z.object({

Go:
type RetrieverRequest struct {

I believe the underlying issue is that the JSONSchema mechanism that we are using to maintain parity between Go and JS is not WAI.

To Reproduce
Start the rag go sample and try the retirever runner in the Dev UI

Expected behavior
Runner opens up and ready to use

Screenshots
Image

Runtime (please complete the following information):

  • OS: Linux

Go version

  • go version go1.25-20250216-RC00 cl/727547642 +d524e1eccd X:fieldtrack,boringcrypto linux/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go
Projects
Status: Done
1 participant