Skip to content

Commit 87e21ed

Browse files
authored
chore: update toolbox version (#190)
* chore: update toolbox version * Update integration.cloudbuild.yaml * docs: fix auth required error log (#196) * docs: fix auth required error log * lint * try out * fix * Update integration.cloudbuild.yaml
1 parent 8673f12 commit 87e21ed

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/toolbox-core/integration.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ options:
4343
logging: CLOUD_LOGGING_ONLY
4444
substitutions:
4545
_VERSION: '3.13'
46-
_TOOLBOX_VERSION: '0.3.0'
46+
_TOOLBOX_VERSION: '0.4.0'

packages/toolbox-langchain/integration.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ options:
4343
logging: CLOUD_LOGGING_ONLY
4444
substitutions:
4545
_VERSION: '3.13'
46-
_TOOLBOX_VERSION: '0.3.0'
46+
_TOOLBOX_VERSION: '0.4.0'

packages/toolbox-langchain/tests/test_e2e.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ async def test_run_tool_no_auth(self, toolbox):
126126
"get-row-by-id-auth",
127127
)
128128
with pytest.raises(
129-
ToolException,
130-
match="{'status': 'Unauthorized', 'error': 'tool invocation not authorized. Please make sure your specify correct auth headers'}",
129+
PermissionError,
130+
match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
131131
):
132132
await tool.ainvoke({"id": "2"})
133133

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

0 commit comments

Comments
 (0)