-
Notifications
You must be signed in to change notification settings - Fork 291
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
Fix model display issue in request table view #2787
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -194,9 +194,17 @@ const isAssistantRequest = (request: HeliconeRequest) => { | |||
|
|||
const getNormalizedRequest = (request: HeliconeRequest): NormalizedRequest => { | |||
try { | |||
return getRequestBuilder(request).build(); | |||
const normalizedRequest = getRequestBuilder(request).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not solving the issue. If the model in the images correctly shows in the request drawer, it should also show correctly in the request page. There is another issue here.
Addressing your review. View activity logs for details. |
160cb92
to
19271fb
Compare
5ff1eb4
to
a50824c
Compare
62abe59
to
2b20134
Compare
a5472c6
to
0834ec3
Compare
@colegottdank I've addressed your review, but the automated checks are failing. If the PR is still not correct, consider closing it with a comment explaining why. This will improve my future PRs. |
Fixes #2784
This PR addresses the bug where the model information was not displaying correctly in the table view of requests, while it showed up correctly in the individual request view. The following changes were made to fix this issue:
useGetRequestsWithBodies
hook to improve model extraction logic from various sources.getNormalizedRequest
function to handle cases with missing or undefined model information by setting it to "Unsupported".RequestRow
component correctly passes model information to theModelPill
component.ModelPill
component to display "Unsupported" when the model information is not available.Tips: