Skip to content

Conversation

@mdrxy
Copy link
Member

@mdrxy mdrxy commented Nov 27, 2025

model-profiles

anthropic

  • Add named effort param
  • If output_config is provided as a kwarg, that works too
  • Automatically append the required beta for effort if it is detected in either
  • Add tests

@github-actions github-actions bot added integration Related to a provider partner package integration core Related to the package `langchain-core` dependencies Pull requests that update a dependency file model-profiles anthropic labels Nov 27, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 27, 2025

CodSpeed Performance Report

Merging #34116 will improve performances by 27.51%

Comparing mdrxy/effort-anthropic (43a2253) with mdrxy/anthropic-auto-append-betas (1ab885d)

⚠️ 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

⚡ 7 improvements
✅ 9 untouched
⏩ 18 skipped1

Benchmarks breakdown

Mode Benchmark BASE HEAD Change
WallTime test_async_callbacks_in_sync 23.5 ms 18.4 ms +27.51%
WallTime test_import_time[CallbackManager] 456 ms 410 ms +11.23%
WallTime test_import_time[HumanMessage] 268.3 ms 242.7 ms +10.56%
WallTime test_import_time[LangChainTracer] 433.8 ms 391.3 ms +10.86%
WallTime test_import_time[PydanticOutputParser] 529 ms 470.9 ms +12.34%
WallTime test_import_time[Runnable] 489 ms 443.9 ms +10.15%
WallTime test_import_time[tool] 512.8 ms 458.3 ms +11.88%

Footnotes

  1. 18 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.

@github-actions github-actions bot added langchain Related to the package `langchain` langchain-classic labels Nov 27, 2025
@github-actions github-actions bot added feature and removed feature labels Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anthropic core Related to the package `langchain-core` dependencies Pull requests that update a dependency file feature integration Related to a provider partner package integration langchain Related to the package `langchain` langchain-classic model-profiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants