mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
yeet deprecated function
This commit is contained in:
@@ -267,16 +267,6 @@ export class AIServiceManager {
|
||||
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
|
||||
* @returns The context service instance
|
||||
@@ -466,9 +456,6 @@ export default {
|
||||
getContextExtractor() {
|
||||
return getInstance().getContextExtractor();
|
||||
},
|
||||
getSemanticContextService(): SemanticContextService {
|
||||
return getInstance().getSemanticContextService();
|
||||
},
|
||||
getContextService() {
|
||||
return getInstance().getContextService();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user