mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-08 21:10:48 +00:00
b8b90f8349
Adaptive thinking (Claude Opus 4.7+) is now implemented natively in the vxcontrol/langchaingo fork (v0.1.14-update.6): the anthropic and bedrock clients emit thinking.type=adaptive + output_config.effort and omit the sampling params adaptive models reject. PentAGI no longer patches the serialized request body. - pconfig.PrepareAdaptiveCallOptions appends llms.WithAdaptiveReasoning; the ctx-effort plumbing (WithAdaptiveEffort/AdaptiveEffortFromContext) is removed. - Delete the bedrock smithy Build middleware and anthropic http RoundTripper (adaptive_thinking.go + tests in both packages) that rewrote the request body. - Bump the langchaingo require to v0.1.14-update.6; refresh llms_how_to.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>