mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-09 00:20:09 +00:00
update research mode, add search web and fetch url content
This commit is contained in:
@@ -63,4 +63,17 @@ export type SearchAndReplaceToolArgs = {
|
||||
regexFlags?: string;
|
||||
}[];
|
||||
}
|
||||
export type ToolArgs = ReadFileToolArgs | WriteToFileToolArgs | InsertContentToolArgs | SearchAndReplaceToolArgs | ListFilesToolArgs | RegexSearchFilesToolArgs | SemanticSearchFilesToolArgs;
|
||||
|
||||
export type SearchWebToolArgs = {
|
||||
type: 'search_web';
|
||||
query: string;
|
||||
finish?: boolean;
|
||||
}
|
||||
|
||||
export type FetchUrlsContentToolArgs = {
|
||||
type: 'fetch_urls_content';
|
||||
urls: string[];
|
||||
finish?: boolean;
|
||||
}
|
||||
|
||||
export type ToolArgs = ReadFileToolArgs | WriteToFileToolArgs | InsertContentToolArgs | SearchAndReplaceToolArgs | ListFilesToolArgs | RegexSearchFilesToolArgs | SemanticSearchFilesToolArgs | SearchWebToolArgs | FetchUrlsContentToolArgs;
|
||||
|
||||
Reference in New Issue
Block a user