Skip to content

Commit 0cedbf0

Browse files
committed
review: remove obsolete tool registry injection from task context service
1 parent 51a856b commit 0cedbf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/ai-chat/src/browser/task-context-service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { ChatAgent, ChatAgentLocation, ChatService, ChatSession, MutableChatMode
2020
import { PreferenceService } from '@theia/core/lib/common';
2121
import { ChatSessionSummaryAgent } from '../common/chat-session-summary-agent';
2222
import { Deferred } from '@theia/core/lib/common/promise-util';
23-
import { AgentService, PromptService, ResolvedPromptFragment, ToolInvocationRegistry } from '@theia/ai-core';
23+
import { AgentService, PromptService, ResolvedPromptFragment } from '@theia/ai-core';
2424
import { CHAT_SESSION_SUMMARY_PROMPT } from '../common/chat-session-summary-agent-prompt';
2525
import { ChangeSetFileElementFactory } from './change-set-file-element';
2626
import * as yaml from 'js-yaml';
@@ -59,8 +59,6 @@ export class TaskContextService {
5959
@inject(PreferenceService) protected readonly preferenceService: PreferenceService;
6060
@inject(ChangeSetFileElementFactory)
6161
protected readonly fileChangeFactory: ChangeSetFileElementFactory;
62-
@inject(ToolInvocationRegistry)
63-
protected readonly toolInvocationRegistry: ToolInvocationRegistry;
6462

6563
get onDidChange(): Event<void> {
6664
return this.storageService.onDidChange;

0 commit comments

Comments
 (0)