feat: Add configurable embedding models and fix TypeScript call tracking - #50
Merged
bartolli merged 2 commits intoOct 18, 2025
Merged
Conversation
…tic search - Add model field to SemanticConfig (AllMiniLML6V2, MultilingualE5Small, ParaphraseMultilingualMiniLML12V2) - Update embedding initialization to use configured model - Document configuration in README - Default to AllMiniLML6V2 for English codebases Enables users to choose embedding models based on their codebase language mix.
Fixes bug where object property functions calling same-named functions
were not tracked in relationship graph.
- Extend context inference to handle arrow functions in object properties
- Update relationship compatibility to allow Constant/Variable as callers
- Add integration test for object property call tracking
Example pattern now tracked:
const actions = {
submitForm: () => submitForm(data) // Now detected
}
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
This PR adds two improvements to codanna:
1. Configurable Embedding Model Support
AllMiniLML6V2(default),MultilingualE5Small, andParaphraseMultilingualMiniLML12V2Configuration:
2. TypeScript Object Property Call Tracking Fix
Example pattern now tracked:
Test Plan
test_typescript_object_property_callverifies fixRelated Issues
Fixes the TypeScript call tracking issue for server actions/form actions patterns commonly used in Next.js and similar frameworks.