fix: update hardcoded version references to use dynamic version
- Update DEFAULT_VERSION in version.ts from 3.5.1 to 3.14.0 - Replace hardcoded version in sharedConfigManager with getBrainyVersion() - Replace hardcoded CLI version display with dynamic version - Ensures all user-facing version displays stay current automatically 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
ab4c8d82f5
commit
29ecf8c271
3 changed files with 5 additions and 3 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
import { ModelPrecision } from './modelAutoConfig.js'
|
||||
import { StorageType } from './storageAutoConfig.js'
|
||||
import { getBrainyVersion } from '../utils/version.js'
|
||||
|
||||
export interface SharedConfig {
|
||||
// Critical parameters that MUST match across instances
|
||||
|
|
@ -128,7 +129,7 @@ export class SharedConfigManager {
|
|||
*/
|
||||
private static createSharedConfig(localConfig: any): SharedConfig {
|
||||
return {
|
||||
version: '2.10.0', // Brainy version
|
||||
version: getBrainyVersion(), // Brainy version
|
||||
precision: localConfig.embeddingOptions?.precision || 'fp32',
|
||||
dimensions: 384, // Fixed for all-MiniLM-L6-v2
|
||||
hnswM: localConfig.hnsw?.M || 16,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue