Skip to content

Conversation

@zzstoatzz
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings August 11, 2025 15:03
@zzstoatzz zzstoatzz merged commit e5e609c into main Aug 11, 2025
3 checks passed
@zzstoatzz zzstoatzz deleted the fix-import branch August 11, 2025 15:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an import error by updating the import path for the NotFoundError exception from the turbopuffer library. The change corrects the import statement to use the root module path instead of a nested error module path.

  • Updated turbopuffer NotFoundError import path from turbopuffer.error to turbopuffer

from pydantic_ai.settings import ModelSettings
from raggy.vectorstores.tpuf import TurboPuffer, query_namespace
from turbopuffer.error import NotFoundError
from turbopuffer import NotFoundError
Copy link

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import change from 'turbopuffer.error.NotFoundError' to 'turbopuffer.NotFoundError' suggests a potential API breaking change in the turbopuffer library. Consider verifying this is the correct import path for the version of turbopuffer being used and update any version constraints in requirements if needed.

Suggested change
from turbopuffer import NotFoundError
from turbopuffer.error import NotFoundError

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants