Skip to content

Conversation

@BenDavidAaron
Copy link
Owner

No description provided.

cursor[bot]

This comment was marked as outdated.

Err(err) => {
eprintln!("error: failed to embed query: {}", err);
eprintln!("error: failed to parse query as code: {}", err);
eprintln!("Try providing a valid code snippet in Rust or Python syntax.");
Copy link

Choose a reason for hiding this comment

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

Bug: Inconsistent Vocabulary Across Embedding Methods

Query embeddings and those from enumerate_symbols_in_file are generated with an empty vocabulary. This is inconsistent with enumerate_symbols_batch, which builds a vocabulary from all indexed files. As a result, vocabulary-dependent features are missing, making similarity search ineffective.

Additional Locations (1)

Fix in Cursor Fix in Web

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.

2 participants