Skip to content

Conversation

dmchoiboi
Copy link
Collaborator

Pull Request Summary

What is this PR changing? Why is this change being made? Any caveats you'd like to highlight? Link any relevant documents, links, or screenshots here if applicable.

  • Fix client usage of 'Annotated' type
  • Add request id to batch completions API failures

Test Plan and Usage Guide

How did you validate that your PR works correctly? How do you run or demo the code? Provide enough detail so a reviewer can reasonably reproduce the testing procedure. Paste example command line invocations if applicable.

@dmchoiboi dmchoiboi enabled auto-merge (squash) October 17, 2024 17:39
@dmchoiboi dmchoiboi merged commit 1d855ca into main Oct 17, 2024
7 checks passed
@dmchoiboi dmchoiboi deleted the dmchoi/some-updates branch October 17, 2024 18:05
raise HTTPException(
status_code=500,
detail="Internal server error",
detail=f"Internal server error. request_id: {request_id}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tbh, we should update all of these Internal server error to be explicit about what exact error it is. there's no need to hide it from users

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes i agree.. i don't want to address this right now though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants