Skip to content

infinite looping via iflow #101

@redzrush101

Description

@redzrush101

Branch

main

Branch (if other)

No response

Version / Tag / Commit

20260123-1-bf7ab7e

Provider(s) Affected

Iflow

Deployment Method

Binary (exe/executable)

Operating System

Fedora Linux 43 Kinoite same issue when launching the binary on a ubuntu podman

Python Version (if running from source)

No response

Bug Description

Glm via iflow is endlessly looping when using opencode and writing a simple message

Steps to Reproduce

  1. Launch the proxy binary.
  2. Log in to Iflow via OAuth.
  3. Add the following snippet to opencode.jsonc so the model appears:
"iflow-glm-4-7": {
  "id": "iflow/glm-4.7",
  "name": "Iflow GLM 4.7",
  "limit": {
    "context": 200000,
    "output": 128000
  },
  "reasoning": true,
  "modalities": {
    "input": ["text"],
    "output": ["text"]
  }
}

I got the information from the curl dump

  1. Open Opencode, select the model, and type “hey”.

Attached files

If you want it more formal (e.g., for docs or a GitHub issue), I can tune the tone too.

Expected Behavior

It shouldnt loop, claude code works fine

Actual Behavior

The agent is looping

Error Logs / Messages

Attached below

Pre-submission Checklist

  • I have searched existing issues to ensure this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions