({
repoData,
query,
env,
ctx,
}: {
repoData: RepoData;
query: string;
env: Env;
ctx: any;
})
| 160 | } |
| 161 | |
| 162 | async function noopFallbackSearch({ |
| 163 | repoData, |
| 164 | query, |
| 165 | env, |
| 166 | ctx, |
| 167 | }: { |
| 168 | repoData: RepoData; |
| 169 | query: string; |
| 170 | env: Env; |
| 171 | ctx: any; |
| 172 | }): Promise<{ |
| 173 | searchQuery: string; |
| 174 | content: { type: "text"; text: string }[]; |
| 175 | }> { |
| 176 | return { |
| 177 | searchQuery: query, |
| 178 | content: [ |
| 179 | { |
| 180 | type: "text", |
| 181 | text: `Please use the ${GET_REFERENCE_DOCS_LIST_TOOL_NAME} tool first to get the list of reference docs and manuals, and then use the ${GET_SPECIFIC_DOCS_CONTENT_TOOL_NAME} tool to get the content of the specific docs or manuals.`, |
| 182 | }, |
| 183 | ], |
| 184 | }; |
| 185 | } |
nothing calls this directly
no outgoing calls
no test coverage detected