Skip to content

fix: indentation in _handle_500_error (anthropic.py)#6497

Merged
shahargl merged 1 commit into
keephq:mainfrom
pokeehokee:fix-anthropic-indentation
May 18, 2026
Merged

fix: indentation in _handle_500_error (anthropic.py)#6497
shahargl merged 1 commit into
keephq:mainfrom
pokeehokee:fix-anthropic-indentation

Conversation

@pokeehokee
Copy link
Copy Markdown
Contributor

@pokeehokee pokeehokee commented May 16, 2026

Closes #6462

Fixed indentation bug in Anthropic client error handling (line ~93): the content block was incorrectly indented at 6 spaces instead of 8, causing IndentationError or silently incorrect control flow.

The  line had 6 spaces instead of 8,
causing an IndentationError on import.

Closes keephq#6462
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. Bug Something isn't working Provider Providers related issues labels May 16, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


WarehouseBot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@shahargl shahargl merged commit 40c6b27 into keephq:main May 18, 2026
6 of 7 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Fantastic work @pokeehokee! Your very first PR to keep has been merged! 🎉🥳

You've just taken your first step into open-source, and we couldn't be happier to have you onboard. 🙌
If you're feeling adventurous, why not dive into another issue and keep contributing? The community would love to see more from you! 🚀

For any support, feel free to reach out on the community: https://slack.keephq.dev. Happy coding! 👩‍💻👨‍💻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Provider Providers related issues size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: Indentation error in AnthropicProvider._query()

3 participants