feat(additional-config): add focus mode

This commit is contained in:
ItzCrazyKns
2026-04-08 23:21:02 +05:30
parent cbe538cc36
commit 65b2c3f234
3 changed files with 4 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ class ActionRegistry {
additionalConfig: AdditionalConfig & {
researchBlockId: string;
fileIds: string[];
mode: SearchAgentConfig['mode'];
},
) {
const action = this.actions.get(name);
@@ -83,6 +84,7 @@ class ActionRegistry {
additionalConfig: AdditionalConfig & {
researchBlockId: string;
fileIds: string[];
mode: SearchAgentConfig['mode'];
},
): Promise<ActionOutput[]> {
const results: ActionOutput[] = [];

View File

@@ -167,6 +167,7 @@ class Researcher {
session: session,
researchBlockId: researchBlockId,
fileIds: input.config.fileIds,
mode: input.config.mode,
});
actionOutput.push(...actionResults);

View File

@@ -117,6 +117,7 @@ export interface ResearchAction<
additionalConfig: AdditionalConfig & {
researchBlockId: string;
fileIds: string[];
mode: SearchAgentConfig['mode'];
},
) => Promise<ActionOutput>;
}