Pin databricks-openai to git main to fix VectorSearchIndex import - #1
Open
jennsun wants to merge 1 commit into
Open
Pin databricks-openai to git main to fix VectorSearchIndex import#1jennsun wants to merge 1 commit into
jennsun wants to merge 1 commit into
Conversation
The released databricks-openai (transitive of databricks-langchain) imports VectorSearchIndex from databricks.vector_search.client, which was removed in newer databricks-vectorsearch releases. databricks-ai-bridge PR #435 fixes the import path but is not yet in a tagged release. Override databricks-openai with the merged source on the databricks/databricks-ai-bridge `main` branch in all three memory-pipeline templates (stateful, stateless, database-admin). Once a release of databricks-openai ships with the fix, drop the [tool.uv.sources] block and the direct databricks-openai dep, and bump databricks-langchain. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Owner
Author
|
Superseded by direct commit 81b5076 on main, which bumps to databricks-ai-bridge 0.20.0 (released today) and pins to the release commit 827ae737 as a stopgap until the Databricks PyPI proxy syncs the new versions. |
jennsun
commented
Jul 1, 2026
| ] | ||
|
|
||
| # Track databricks-openai from main to pick up the merged fix for | ||
| # https://github.com/databricks/databricks-ai-bridge/pull/435 (imports |
jennsun
commented
Jul 1, 2026
| "fastapi>=0.129.0", | ||
| "uvicorn>=0.41.0", | ||
| "databricks-langchain>=0.17.0", | ||
| "databricks-openai", |
jennsun
commented
Jul 1, 2026
| "uvicorn>=0.41.0", | ||
| "databricks-langchain[memory]>=0.19.0", | ||
| "databricks-ai-bridge[agent-server]>=0.19.0", | ||
| "databricks-openai", |
Owner
Author
There was a problem hiding this comment.
Suggested change
| "databricks-openai", | |
| "databricks-openaitest", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
databricks-openai(transitive ofdatabricks-langchain) importsVectorSearchIndexfromdatabricks.vector_search.client, which was removed in newerdatabricks-vectorsearchreleases. Fresh deploys 500 on import.databricks-openaiwith the merged source onmainin all three memory-pipeline templates (agent-stateful-example,agent-stateless-example,agent-database-admin).Diff (per template)
databricks-openaias a direct dependency.[tool.uv.sources]block pointingdatabricks-openaiatgit+https://github.com/databricks/databricks-ai-bridge.git,branch = "main",subdirectory = "integrations/openai".Verified
agent-stateful-exampleandagent-stateless-exampleagainst this config. Both build the patcheddatabricks-openaifrom main and reachApplication startup completewith noImportError.Follow-up
databricks-openaiships with the fix from #435, drop the[tool.uv.sources]block and the directdatabricks-openaidep, and bumpdatabricks-langchainto a version that pulls in the fixeddatabricks-openai.Test plan
databricks bundle deploy --target prod && databricks bundle run agent_stateful_example --target proddatabricks bundle deploy --target prod && databricks bundle run agent_stateless_example --target proddatabricks bundle deploy --target prod && databricks bundle run agent_database_admin --target prodImportError: cannot import name 'VectorSearchIndex'in app logs🤖 Generated with Claude Code