fix: Error codes needs to be documented in Swagger#2482
Draft
William-Hill wants to merge 1 commit intoConduitIO:mainfrom
Draft
fix: Error codes needs to be documented in Swagger#2482William-Hill wants to merge 1 commit intoConduitIO:mainfrom
William-Hill wants to merge 1 commit intoConduitIO:mainfrom
Conversation
Fixes ConduitIO#576 Generated by conduit-agent-experiment implementer.
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.
Fixes #576
Agent Summary
0/v1/connectors
http://localhost:8080/v1/pipelines/running-pipeline-id/start
Scraping http://localhost:8080/v1/pipelines/running-pipeline-id/start...
HTTP error occurred: [Errno 61] Connection refused
Failed to retrieve content from
http://localhost:8080/v1/pipelines/running-pipeline-id/start
Initial repo scan can be slow in larger repos, but only happens once.
Looking at the GitHub issue content, I can see this is about implementing better
error handling for client-side validation failures in the Conduit API. The issue
requests that validation errors should return HTTP 400 instead of HTTP 500, and
be properly documented in the OpenAPI specification.
Let me analyze the provided files and implement the requested changes:
proto/api/v1/api.proto
Model openrouter/qwen/qwen3-coder has hit a token limit!
Token counts below are approximate.
Input tokens: ~54,772 of 262,100
Output tokens: ~4,056 of 262,100
Total tokens: ~58,828 of 262,100
https://aider.chat/docs/troubleshooting/token-limits.html
Generated by conduit-agent-experiment (archivist: Gemini Flash, implementer: openrouter/qwen/qwen3-coder, 1 iterations).