Skip to content

failed run #80

@ghmole

Description

@ghmole

What happened?

Error when talking to Gemini API Full report available at: C:\Users\xxxx\AppData\Local\Temp\gemini-client-error-Turn.run-sendMessageStream-2025-09-01T12-58-10-459Z.json
✕ [API Error: Invalid URL]

{
"error": {
"message": "Invalid URL",
"stack": "TypeError: Invalid URL\n at new URL (node:internal/url:818:25)\n at OpenAI.buildURL (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:77327:64)\n at OpenAI.buildRequest (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:77549:27)\n at OpenAI.makeRequest (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:77380:60)\n at async CustomLLMContentGenerator.generateContentStream (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:78163:25)\n at async retryWithBackoff (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:230704:14)\n at async GeminiChat.sendMessageStream (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:232007:31)\n at async Turn.run (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:230184:30)\n at async GeminiClient.sendMessageStream (file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:232376:22)\n at async file:///C:/Users/xxxx/AppData/Roaming/npm/node_modules/easy-llm-cli/bundle/gemini.js:240072:24"
},
"context": [
{
"role": "user",
"parts": [
{
"text": "This is the Gemini CLI. We are setting up the context for our chat.\n Today's date is 2025年9月1日星期一.\n My operating system is: win32\n I'm currently working in the directory: C:\works\github\ai\easy-llm-cli\n Showing up to 200 items (files + folders). Folders or files indicated with ... contain more items not shown, were ignored, or the display limit (200 items) was reached.\n\nC:/works/github/ai/easy-llm-cli/\n├───.editorconfig\n├───.gitattributes\n├───.gitignore\n├───.npmrc\n├───.prettierrc.json\n├───CONTRIBUTING.md\n├───Dockerfile\n├───elcenv.bat\n├───esbuild.config.js\n├───eslint.config.js\n├───GEMINI.md\n├───index.ts\n├───LICENSE\n├───Makefile\n├───package-lock.json\n├───package.json\n├───README.md\n├───README.zh-CN.md\n├───tsconfig.json\n├───.gcp/\n│ ├───Dockerfile.gemini-code-builder\n│ └───release-docker.yaml\n├───.gemini/\n├───.git/...\n├───.github/\n│ ├───CODEOWNERS\n│ ├───dependabot.yml\n│ ├───pull_request_template.md\n│ ├───ISSUE_TEMPLATE/\n│ │ ├───bug_report.yml\n│ │ └───feature_request.yml\n│ └───scripts/\n│ └───pr-triage.sh\n├───.vscode/\n│ ├───launch.json\n│ ├───settings.json\n│ └───tasks.json\n├───docs/\n│ ├───architecture.md\n│ ├───checkpointing.md\n│ ├───deployment.md\n│ ├───extension.md\n│ ├───index.md\n│ ├───integration-tests.md\n│ ├───npm.md\n│ ├───programmatic-api.md\n│ ├───programmatic-api.zh-CN.md\n│ ├───quota-and-pricing.md\n│ ├───sandbox.md\n│ ├───telemetry.md\n│ ├───tos-privacy.md\n│ ├───troubleshooting.md\n│ ├───Uninstall.md\n│ ├───assets/\n│ │ ├───connected_devtools.png\n│ │ ├───gemini-screenshot.png\n│ │ ├───openrouter.png\n│ │ ├───theme-ansi-light.png\n│ │ ├───theme-ansi.png\n│ │ ├───theme-atom-one.png\n│ │ ├───theme-ayu-light.png\n│ │ ├───theme-ayu.png\n│ │ ├───theme-default-light.png\n│ │ ├───theme-default.png\n│ │ ├───theme-dracula.png\n│ │ ├───theme-github-light.png\n│ │ ├───theme-github.png\n│ │ ├───theme-google-light.png\n│ │ ├───theme-xcode-light.png\n│ │ └───vllm.png\n│ ├───cli/\n│ │ ├───authentication.md\n│ │ ├───commands.md\n│ │ ├───configuration.md\n│ │ ├───index.md\n│ │ ├───themes.md\n│ │ ├───token-caching.md\n│ │ └───tutorials.md\n│ ├───core/\n│ │ ├───index.md\n│ │ ├───memport.md\n│ │ └───tools-api.md\n│ ├───examples/\n│ │ └───proxy-script.md\n│ └───tools/\n│ ├───file-system.md\n│ ├───index.md\n│ ├───mcp-server.md\n│ ├───memory.md\n│ ├───multi-file.md\n│ ├───shell.md\n│ ├───web-fetch.md\n│ └───web-search.md\n├───eslint-rules/\n│ └───no-relative-cross-package-imports.js\n├───integration-tests/\n│ ├───file-system.test.js\n│ ├───google_web_search.test.js\n│ ├───list_directory.test.js\n│ ├───read_many_files.test.js\n│ ├───replace.test.js\n│ ├───run_shell_command.test.js\n│ ├───run-tests.js\n│ ├───save_memory.test.js\n│ ├───simple-mcp-server.test.js\n│ ├───test-helper.js\n│ └───write_file.test.js\n├───packages/\n│ ├───cli/\n│ │ ├───index.ts\n│ │ ├───package.json\n│ │ ├───tsconfig.json\n│ │ ├───vitest.config.ts\n│ │ └───src/\n│ │ ├───gemini.test.tsx\n│ │ ├───gemini.tsx\n│ │ ├───nonInteractiveCli.test.ts\n│ │ ├───nonInteractiveCli.ts\n│ │ ├───api/\n│ │ │ ├───index.ts\n│ │ │ ├───types.ts\n│ │ │ └───util.ts\n│ │ ├───config/\n│ │ │ ├───auth.test.ts\n│ │ │ ├───auth.ts\n│ │ │ ├───config.integration.test.ts\n│ │ │ ├───config.test.ts\n│ │ │ ├───config.ts\n│ │ │ ├───extension.test.ts\n│ │ │ ├───extension.ts\n│ │ │ ├───sandboxConfig.ts\n│ │ │ ├───settings.test.ts\n│ │ │ └───settings.ts\n│ │ ├───services/\n│ │ │ ├───CommandService.test.ts\n│ │ │ └───CommandService.ts\n│ │ ├───test-utils/\n│ │ │ ├───mockCommandContext.test.ts\n│ │ │ └───mockCommandContext.ts\n│ │ ├───ui/\n│ │ │ ├───App.test.tsx\n│ │ │ ├───App.tsx\n│ │ │ ├───colors.ts\n│ │ │ ├───constants.ts\n│ │ │ ├───types.ts\n│ │ │ ├───commands/\n│ │ │ ├───components/\n│ │ │ ├───contexts/\n│ │ │ ├───editors/\n│ │ │ ├───hooks/\n│ │ │ ├───privacy/\n│ │ │ ├───themes/\n│ │ │ └───utils/\n│ │ └───utils/\n│ │ ├───cleanup.ts\n│ │ ├───package.ts\n│ │ ├───readStdin.ts\n│ │ └───sandbox-macos-permissive-closed.sb\n│ │ └───...\n│ └───core/\n│ ├───index.ts\n│ ├───package-lock.json\n│ ├───package.json\n│ ├───test-setup.ts\n│ ├───tsconfig.json\n│ ├───vitest.config.ts\n│ └───src/\n│ ├───index.test.ts\n│ ├───index.ts\n│ ├───__mocks__/\n│ ├───code_assist/\n│ ├───config/\n│ ├───core/\n│ ├───custom_llm/\n│ ├───services/\n│ ├───telemetry/\n│ ├───tools/\n│ └───utils/\n└───scripts/\n ├───build_package.js\n ├───build_sandbox.js\n ├───build.js\n ├───check-build-status.js\n ├───clean.js\n ├───copy_bundle_assets.js\n ├───copy_files.js\n ├───create_alias.sh\n ├───generate-git-commit-info.js\n ├───get-release-version.js\n ├───local_telemetry.js\n ├───prepare-package.js\n ├───sandbox_command.js\n ├───start.js\n ├───telemetry_gcp.js\n ├───telemetry_utils.js\n ├───telemetry.js\n ├───version.js\n └───tests/\n ├───get-release-version.test.js\n ├───test-setup.ts\n └───vitest.config.ts"
}
]
},
{
"role": "model",
"parts": [
{
"text": "Got it. Thanks for the context!"
}
]
},
"help make a tank game using python"
]
}

What did you expect to happen?

every time run it

Client information

Details
$ gemini /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions