Windows Support

Open
#1,220 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
kotlin, shell

Research direction

Investigate the agent tool implementations involved in the Task-Tool, Explore Function, and Bash execution, with particular attention to how shell commands and glob expansion are handled on Windows. No files or tests are identified in the issue; first reproduce the missing description field and failed command execution on Windows. The work is done when Windows-compatible tool behavior or supported customization paths are implemented and documented.

Written by the indexing model from the issue text.

Description

bug
What happened?

I tried to use gemma-4-e4b locally with the agent functionality and asked it to analyze my codebase.
The Task-Tool did not work because the "description" field was missing but the fallback Explore Function seemed to do something at first glance but then the llm reported that "bash ls" could not be executed. I tried to install cygwin to emulate the behavior but that was not enough because globs etc. do not work. Is there no windows support? Or can i customize the tools in any way to make them windows-compatible?

Relevant log output or stack trace
2026-05-05 15:50:35,652 [2133555]   INFO - #ee.carlrobert.codegpt.agent.clients.HttpClientProvider - [KtorHTTP] RESPONSE: 200 OK
METHOD: POST
FROM: http://127.0.0.1:1234/v1/chat/completions
COMMON HEADERS
-> Connection: keep-alive
-> Content-Length: 1955
-> Content-Type: application/json; charset=utf-8
-> Date: Tue, 05 May 2026 13:50:35 GMT
-> ETag: W/"7a3-4bqq729ReKBiCrqxznP/p7SzQfc"
-> Keep-Alive: timeout=5
-> X-Powered-By: Express
BODY Content-Type: application/json; charset=utf-8
BODY START
{
  "id": "chatcmpl-h6zxvhz34bkwn6ck4s7k3",
  "object": "chat.completion",
  "created": 1777989030,
  "model": "google/gemma-4-e4b",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "",
        "reasoning_content": "\nThe user wants to find all `.java` files within a specific directory structure: `src/main/java/`.\n\nI need to use a tool that can list files and filter by extension. The available tools are:\n1.  `Read`: Reads content of a file, not for listing directories.\n2.  `IntelliJSearch`: Searches for symbols or patterns within code/files, but is primarily for code navigation/symbol discovery. It has `fileType` filtering.\n3.  `Diagnostics`: Checks diagnostics on one file.\n4.  `WebSearch`/`WebFetch`: For web content.\n5.  `Bash`: Executes shell commands.\n\nUsing the `bash` tool with a standard listing command like `find` is the most direct and reliable way to list files in a directory structure, even though the instructions advise preferring specialized tools over `find`. However, since the goal is purely file discovery based on path and extension, `find` via `Bash` is appropriate here.\n\nThe target directory is `src/main/java/`.\nThe pattern is `*.java`.\n\nI will use `bash` with the `find` command.",
        "tool_calls": [
          {
            "type": "function",
            "id": "198239717",
            "function": {
              "name": "Bash",
              "arguments": "{\"command\":\"find src/main/java/ -name \\\"*.java\\\"\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 6306,
    "completion_tokens": 300,
    "total_tokens": 6606,
    "completion_tokens_details": {
      "reasoning_tokens": 264
    }
  },
  "stats": {},
  "system_fingerprint": "google/gemma-4-e4b"
}
BODY END
.
.
.
2026-05-05 15:50:40,811 [2138714]   INFO - #ee.carlrobert.codegpt.agent.clients.HttpClientProvider - [KtorHTTP] RESPONSE: 200 OK
METHOD: POST
FROM: http://127.0.0.1:1234/v1/chat/completions
COMMON HEADERS
-> Connection: keep-alive
-> Content-Length: 2297
-> Content-Type: application/json; charset=utf-8
-> Date: Tue, 05 May 2026 13:50:40 GMT
-> ETag: W/"8f9-W/eiJNXXAmLQUNTen8zbW8bk0eY"
-> Keep-Alive: timeout=5
-> X-Powered-By: Express
BODY Content-Type: application/json; charset=utf-8
BODY START
{
  "id": "chatcmpl-smh94hshtuad8owi6k668",
  "object": "chat.completion",
  "created": 1777989035,
  "model": "google/gemma-4-e4b",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "I attempted to list all `.java` files in `src/main/java/`, but the command failed with an exit code of 1

I did not find the error code 1 output in the logs...

Steps to reproduce

No response

CodeGPT version

3.8.1-261

Operating System

Windows

Dominant language
Kotlin
Stars
1.9k
Forks
401
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from carlrobertoh/ProxyAI

All issues in carlrobertoh/ProxyAI

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.