Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

🐛 git_issue_agent hard codes host and port #208

Closed

Description

@esnible

Describe the bug

The git_issue_agent hard codes the host and port (overriding the HOST and PORT env vars).

This makes it a poor example, as Kagenti supplies these things, but it ignores them.
There may be security implications when testing -- it is difficult to force the agent to listen only on localhost.

Steps To Reproduce

As part of local development, do HOST=localhost PORT=8001 uv run --no-sync server --host localhost --port 8002 and observe the agent self-reports that it is listening on 0.0.0.0:8000.

Expected Behavior

The agent should respond to $HOST and $PORT variables, or perhaps --host and --port command-line arguments.

Additional Context

No response

Activity

  1. esnible commented on Mar 30, 2026

    @esnible
    MemberAuthor

    Also the generic_agent.

  2. self-assigned this
    on Apr 3, 2026
  3. esnible commented on Apr 3, 2026

    @esnible
    MemberAuthor

    Note that the code's config.py expects the port to arrive in SERVICE_PORT env var, but Kagenti sets the PORT env var.

  4. removed their assignment
    on Apr 21, 2026
  5. esnible commented on Apr 23, 2026

    @esnible
    MemberAuthor

    Closed through #254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions