Skip to content

[Bug] Curl called without --max-time — requests hang indefinitely #58

Description

@PyDevC

File: lua/model_cmp/modelapi/request.lua:34-51

Introduction: Curl is called without any timeout flags. If the LLM server is unresponsive, DNS fails, or network is slow, the request hangs forever. Neovim UI becomes unresponsive.

Detailed Description: Wire config.requests.timeout_ms to curl --max-time. Also add --connect-timeout for connection failures.

Activity

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

    AI genIssue was generated by AIbugSomething isn't workingduplicateThis issue or pull request already existsmaintainer triagedmaintainer has triaged the issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions