Skip to content

[Bug]: OpenAI responses compatible provider repeats itself in loop #3400

@yookibooki

Description

@yookibooki

Bug Description

󰄾 hi
The user is just saying "hi" - this is a simple greeting. I should respond in a friendly but professional manner without using any unnecessary tools or creating any files.

Hi! How can I help you today?
The user just said "hi" - a simple greeting. I should respond in a friendly, professional way without being overly apologetic or verbose. I'll keep it brief.

Hi! How can I help you today?
The user is greeting me. I should respond in a friendly, professional manner without being excessive. I'll keep it brief.

Hi! How can I help you today?
The user just said "hi" - a simple greeting. I should respond in kind with a friendly greeting and offer to help.

Hi! How can I help you today?
The user simply said "hi" - a greeting. I should respond with a friendly greeting and offer to help. No tools needed here.

Hi there! How can I help you today?
The user said "hi" - just a greeting. I should respond in a friendly, professional manner as Forge.

Hi there! I'm Forge, ready to help with your ERP API project. How can I assist you today?
The user simply said "hi" - this is a greeting. I should respond with a friendly greeting and offer to help them with their tasks.

⠙ Researching 21s · Ctrl+C to interrupt

~/.forge/.credentials.json file:

  {
    "id": "openai_responses_compatible",
    "auth_details": {
      "api_key": "sk-xxx"
    },
    "url_params": {
      "OPENAI_URL": "http://localhost:8317/v1"
    }
  }

This happens with every model

Steps to Reproduce

  1. Run forge
  2. Say 'hi'
  3. See bug

Expected Behavior

response

Actual Behavior

hangs in loop

Forge Version

forge 2.13.0

Operating System & Version

Arch Linux 7.0.10-arch1-1

AI Provider

OpenAI-compatible

Model

All models

Installation Method

curl -fsSL https://forgecode.dev/cli | sh

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions