Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/toolbox-core/integration.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ options:
logging: CLOUD_LOGGING_ONLY
substitutions:
_VERSION: '3.13'
_TOOLBOX_VERSION: '0.3.0'
_TOOLBOX_VERSION: '0.4.0'
2 changes: 1 addition & 1 deletion packages/toolbox-langchain/integration.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ options:
logging: CLOUD_LOGGING_ONLY
substitutions:
_VERSION: '3.13'
_TOOLBOX_VERSION: '0.3.0'
_TOOLBOX_VERSION: '0.4.0'
8 changes: 4 additions & 4 deletions packages/toolbox-langchain/tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ async def test_run_tool_no_auth(self, toolbox):
"get-row-by-id-auth",
)
with pytest.raises(
ToolException,
match="{'status': 'Unauthorized', 'error': 'tool invocation not authorized. Please make sure your specify correct auth headers'}",
PermissionError,
match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
):
await tool.ainvoke({"id": "2"})

Expand Down Expand Up @@ -266,8 +266,8 @@ def test_run_tool_no_auth(self, toolbox):
"get-row-by-id-auth",
)
with pytest.raises(
ToolException,
match="{'status': 'Unauthorized', 'error': 'tool invocation not authorized. Please make sure your specify correct auth headers'}",
PermissionError,
match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
):
tool.invoke({"id": "2"})

Expand Down