Skip to content

Conversation

@baskaryan
Copy link
Collaborator

  • Description: if you dont pass in schema= or schema_= to StrucutredPrompt(...) today you get a confusing KeyError. Raise a more readable ValueError instead.
  • Issue: na
  • Dependencies: na

@baskaryan baskaryan requested a review from eyurtsev as a code owner November 24, 2025 23:32
@github-actions github-actions bot added core Related to the package `langchain-core` fix labels Nov 24, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 24, 2025

CodSpeed Performance Report

Merging #34096 will not alter performance

Comparing bagatur/struct_prompt_init_nit (381893c) with master (880652b)1

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched
⏩ 21 skipped2

Footnotes

  1. No successful run was found on master (9c21f83) during the generation of this report, so 880652b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@mdrxy mdrxy changed the title fix(core): handle missing StructuredPrompt schema fix(core): handle missing StructuredPrompt schema Nov 24, 2025
@mdrxy mdrxy merged commit c375732 into master Nov 24, 2025
95 checks passed
@mdrxy mdrxy deleted the bagatur/struct_prompt_init_nit branch November 24, 2025 23:39
@github-actions github-actions bot added fix and removed fix labels Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Related to the package `langchain-core` fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants