Skip to content

Conversation

tpmullee
Copy link

Problem
VectorSearchRetrieverTool wasn’t forwarding client_args to DatabricksVectorSearch, so VectorSearchClient(**client_args) couldn’t be configured for service principals or flags like disable_notice.

Change
Add optional client_args: Dict[str, Any] | None to the tool and include it in DatabricksVectorSearch(**kwargs). No behavior change for PAT users.

Tests
New unit test patches the SDK’s databricks.vector_search.client.VectorSearchClient and asserts client_args (SP creds + disable_notice) reach the client. Local run: 191 passed, 2 skipped.

Backwards compatibility
Optional field; existing flows unchanged.

Closes: #178

@tpmullee tpmullee marked this pull request as ready for review October 16, 2025 04:23
@tpmullee
Copy link
Author

Ready for review. Local: 191 passed, 2 skipped. Scope: 1 code file + 1 unit test. Actions show “awaiting approval” because this is from a fork—maintainers can approve to run CI. Closes #178.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant