fix: Fix Anthropic output processing and update dependency (#8283)
* chore: update langchain-anthropic dependency to version 0.3.14 and adjust revision in uv.lock * fix: add workaround for handling function calling in Anthropic output processing * Fix indentation Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fix: remove duplicate error message in _extract_output_text function * fix: update _build_llm_model to handle missing attributes gracefully * fix: handle max_tokens default value and improve error handling in AnthropicModelComponent * fix: enhance input handling in Component class to manage deepcopy errors * fix: add 'no_blockbuster' marker to pytest configuration for improved test control * fix: refactor agent component tests to include all OpenAI and Anthropic models, improving validation and error reporting * fix: update agent components to include pydantic validation and improve error handling across multiple starter projects * fix: set default max_tokens value in AnthropicModelComponent and improve API URL handling * fix: enhance error reporting in AgentComponent tests by capturing exceptions and response discrepancies for all Anthropic models * chore: update package versions in uv.lock, including alembic, arize-phoenix-otel, bce-python-sdk, boto3-stubs, botocore-stubs, tornado, and others for improved compatibility and features * fix: update agent components across multiple starter projects to include new imports and improve error handling * fix: streamline max_tokens handling in AnthropicModelComponent for improved clarity and robustness * [autofix.ci] apply automated fixes * fix: update artifacts_raw type to allow None for better flexibility * fix: initialize artifacts_raw as an empty dict if None to prevent errors * fix: specify type for similarity_score to enhance type safety and clarity * fix: refactor JSON parsing to improve variable naming and clarity * fix: skip flaky test in Portfolio Website Code Generator until stabilized --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
parent
ae6f3429f0
commit
8fb9750a7b