Skip to content

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

@PyDevC

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.

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