mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 23:18:59 +01:00
yeet deprecated function
This commit is contained in:
parent
db4dd6d2ef
commit
466b749298
@ -267,16 +267,6 @@ export class AIServiceManager {
|
|||||||
return contextExtractor;
|
return contextExtractor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the semantic context service for enhanced context management
|
|
||||||
* @deprecated Use getContextService() instead
|
|
||||||
* @returns The semantic context service instance
|
|
||||||
*/
|
|
||||||
getSemanticContextService(): SemanticContextService {
|
|
||||||
log.info('getSemanticContextService is deprecated, use getContextService instead');
|
|
||||||
return contextService as unknown as SemanticContextService;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the context service for advanced context management
|
* Get the context service for advanced context management
|
||||||
* @returns The context service instance
|
* @returns The context service instance
|
||||||
@ -466,9 +456,6 @@ export default {
|
|||||||
getContextExtractor() {
|
getContextExtractor() {
|
||||||
return getInstance().getContextExtractor();
|
return getInstance().getContextExtractor();
|
||||||
},
|
},
|
||||||
getSemanticContextService(): SemanticContextService {
|
|
||||||
return getInstance().getSemanticContextService();
|
|
||||||
},
|
|
||||||
getContextService() {
|
getContextService() {
|
||||||
return getInstance().getContextService();
|
return getInstance().getContextService();
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user