mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-14 03:50:49 -07:00
Run npm run format
- This has the entirety of the changes. Part of https://b.corp.google.com/issues/411720532
This commit is contained in:
committed by
N. Taylor Mullen
parent
e99e2ecd8f
commit
a054fdde31
@@ -90,9 +90,7 @@ export class WebFetchTool extends BaseTool<
|
||||
getDescription(params: WebFetchToolParams): string {
|
||||
// Shorten long URLs for display
|
||||
const displayUrl =
|
||||
params.url.length > 80
|
||||
? params.url.substring(0, 77) + '...'
|
||||
: params.url;
|
||||
params.url.length > 80 ? params.url.substring(0, 77) + '...' : params.url;
|
||||
return `Fetching content from ${displayUrl}`;
|
||||
}
|
||||
|
||||
@@ -130,7 +128,7 @@ export class WebFetchTool extends BaseTool<
|
||||
headers: {
|
||||
'User-Agent': 'GeminiCode-CLI/1.0',
|
||||
},
|
||||
signal: AbortSignal.timeout(15000) // 15 seconds timeout
|
||||
signal: AbortSignal.timeout(15000), // 15 seconds timeout
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
|
||||
Reference in New Issue
Block a user