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
32 changed files with 923 additions and 862 deletions
|
|
@ -79,7 +79,7 @@ dependencies = [
|
|||
"opensearch-py==2.8.0",
|
||||
"langchain-google-genai==2.0.6",
|
||||
"langchain-cohere==0.3.3",
|
||||
"langchain-anthropic==0.3.0",
|
||||
"langchain-anthropic==0.3.14",
|
||||
"langchain-astradb~=0.6.0",
|
||||
"langchain-openai==0.2.12",
|
||||
"langchain-google-vertexai==2.0.7",
|
||||
|
|
@ -236,7 +236,7 @@ filterwarnings = ["ignore::DeprecationWarning", "ignore::ResourceWarning"]
|
|||
log_cli = true
|
||||
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
|
||||
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
||||
markers = ["async_test", "api_key_required", "benchmark"]
|
||||
markers = ["async_test", "api_key_required", "no_blockbuster", "benchmark"]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue