Merged
Conversation
Fixed a state synchronization issue where the note editor would not automatically open when clicking the 'add to note' button in chat. Root cause: - MessageItem.tsx was using useNoteStore() to create notes - NotePanel.tsx was using useItemStore() to read isEditing state - The two independent stores were not synchronized Changes: - Updated MessageItem.tsx to use useItemStore instead of useNoteStore - Enhanced itemStore.ts with derived notes state for compatibility - Updated SourcePanel.tsx to use useItemStore for consistency - Added loadNotes() method to itemStore for API compatibility The editor will now automatically open when creating notes from chat.
- Add buildProviderOptions method to AISDKProvider for provider-specific options - Pass dimensions parameter via providerOptions in embed/embedMany calls - Set default dimensions to 1024 in KnowledgeService for consistent vector size - Support OpenAI text-embedding-3 models with custom dimensions - Implement whitelist mechanism for providers that support dimensions parameter
- Try OpenAI-compatible format (/v1/models) first for better compatibility - Fallback to native Ollama format (/api/tags) if OpenAI format fails - Add detailed logging for debugging API format selection - Improve baseUrl handling to support both /api and /v1 endpoints
- Add platform detection in MindMapPage component - Add left padding for macOS window controls (64px) - Add right padding for Windows window controls (128px) - Prevent download and layout toggle buttons from being obscured by window controls - Align with main window's platform-specific layout handling
- Add deriveNotes helper function to centralize derivation logic - Update notes array in updateNote to reflect content changes - Update notes array in deleteItem to reflect item removal - Fixes issue where edited notes don't appear in knowledge base import list
This was
linked to
issues
Dec 22, 2025
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.
No description provided.