Skip to content

fix(evalz): add type assertion for instructor response in createEvaluator#99

Closed
nikmeiser wants to merge 2 commits into
hack-dance:mainfrom
nikmeiser:fix/evalz-type-error
Closed

fix(evalz): add type assertion for instructor response in createEvaluator#99
nikmeiser wants to merge 2 commits into
hack-dance:mainfrom
nikmeiser:fix/evalz-type-error

Conversation

@nikmeiser

Copy link
Copy Markdown

The instructor client's response type does not include 'score' in its base type signature, causing TS7053 when accessing response['score']. Cast to z.infer since the response_model schema guarantees the shape.

Created this PR to address the build error in the zod-stream fix

…ator

The instructor client's response type does not include 'score' in its
base type signature, causing TS7053 when accessing response['score'].
Cast to z.infer<typeof scoringSchema> since the response_model schema
guarantees the shape.
@vercel

vercel Bot commented Apr 16, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Hack Dance Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Apr 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0c4ef6b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

BrandGithub, BrandLinkedin, BrandTwitter were renamed to Github,
Linkedin, Twitter in a newer version of @mynaui/icons-react. Update
the footer component imports to match.
@nikmeiser nikmeiser closed this by deleting the head repository Apr 16, 2026
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.

1 participant