Repository navigation
release: 0.2.5859 - #763
Conversation
Use the distinct Gemini vector space and the existing hosted query marker so the edge selects code-retrieval embeddings. Preserve explicit Jina behavior and migrate only exact former hosted Qwen/Jina sidecars, avoiding mixed-model ANN search while keeping legacy overrides intact. Co-Authored-By: Codegraff <blackfloofie@codegraff.com>
Use Gemini 001 for managed semantic embeddings
Hosted semantic retrieval now defaults to gemini-embedding-001 at the existing 512D contract. 0.2.5857 still requested the Jina model, which the hosted endpoint no longer serves, so the semantic lane reported unavailable and fell back to local results. Sidecars built with the former hosted Jina or Qwen default migrate once in the background. Custom endpoints and explicit model overrides are unchanged.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8b7fec512e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| (!std.mem.eql(u8, stored_model, semantic.legacy_qwen_model) and | ||
| !std.mem.eql(u8, stored_model, semantic.jina_model))) |
There was a problem hiding this comment.
Start migration for standalone CLI contexts
When users run the documented codedb <root> context command after upgrading with a Jina sidecar, this condition recognizes the sidecar but no rebuild is ever started: runCliTool invokes handleContext(..., null) (src/mcp.zig:6426), and the scheduler only acts when semantic_cache is non-null. The CLI therefore takes the bounded exact fallback on every invocation and never returns to the ANN’s 4× candidate pool; give the CLI a migration owner or limit the automatic-migration guarantee to MCP.
AGENTS.md reference: AGENTS.md:L54-L56
Useful? React with 👍 / 👎.
Uh oh!
There was an error while loading. Please reload this page.