mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
rename these "agent tools"
This commit is contained in:
parent
7725b924e9
commit
b8a6da6d52
@ -8,7 +8,7 @@ import { ContextExtractor } from './context/index.js';
|
|||||||
import contextService from './context_service.js';
|
import contextService from './context_service.js';
|
||||||
import indexService from './index_service.js';
|
import indexService from './index_service.js';
|
||||||
import { getEmbeddingProvider, getEnabledEmbeddingProviders } from './providers/providers.js';
|
import { getEmbeddingProvider, getEnabledEmbeddingProviders } from './providers/providers.js';
|
||||||
import agentTools from './agent_tools/index.js';
|
import agentTools from './context_extractors/index.js';
|
||||||
|
|
||||||
// Import interfaces
|
// Import interfaces
|
||||||
import type {
|
import type {
|
||||||
@ -392,7 +392,7 @@ export class AIServiceManager implements IAIServiceManager {
|
|||||||
|
|
||||||
// Initialize agent tools with this service manager instance
|
// Initialize agent tools with this service manager instance
|
||||||
await agentTools.initialize(this);
|
await agentTools.initialize(this);
|
||||||
|
|
||||||
// Initialize LLM tools - this is the single place where tools are initialized
|
// Initialize LLM tools - this is the single place where tools are initialized
|
||||||
const toolInitializer = await import('./tools/tool_initializer.js');
|
const toolInitializer = await import('./tools/tool_initializer.js');
|
||||||
await toolInitializer.default.initializeTools();
|
await toolInitializer.default.initializeTools();
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import type { ChatResponse } from '../ai_interface.js';
|
import type { ChatResponse } from '../ai_interface.js';
|
||||||
import type { VectorSearchResult } from '../agent_tools/vector_search_tool.js';
|
import type { VectorSearchResult } from '../context_extractors/vector_search_tool.js';
|
||||||
import type { NoteInfo, NotePathInfo, NoteHierarchyLevel } from '../agent_tools/note_navigator_tool.js';
|
import type { NoteInfo, NotePathInfo, NoteHierarchyLevel } from '../context_extractors/note_navigator_tool.js';
|
||||||
import type { DecomposedQuery, SubQuery } from '../agent_tools/query_decomposition_tool.js';
|
import type { DecomposedQuery, SubQuery } from '../context_extractors/query_decomposition_tool.js';
|
||||||
import type { ThinkingProcess, ThinkingStep } from '../agent_tools/contextual_thinking_tool.js';
|
import type { ThinkingProcess, ThinkingStep } from '../context_extractors/contextual_thinking_tool.js';
|
||||||
import type BAttribute from '../../../becca/entities/battribute.js';
|
import type BAttribute from '../../../becca/entities/battribute.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user