eca icon indicating copy to clipboard operation
eca copied to clipboard

Tool calls via Openai oAuth models don't complete

Open sebastianpetrovski opened this issue 7 months ago • 8 comments

Describe the bug

Tool calls via Openai oAuth models don't complete.

To Reproduce

/login openai pro auth via browser send chat and request a tool call - agent will respond in chat and then tool call will not complete (see screenshots)

Expected behavior

Tool calls to complete.

Doctor

Doctor doesn't show any problems.

After the issue showed up I updated eca and eca-emacs. eca-emacs version: latest from main eca version: latest from eca repo Nix Flake

Screenshots

Here's the two ways it looks - sometimes it shows a path, other times it doesn't.

Image Image

Additional context

Openai models work via openrouter with api: openai-chat

sebastianpetrovski avatar Apr 07 '26 04:04 sebastianpetrovski

same here.

Image

/doctor



ECA version: 0.123.3

Server cmd: /Users/rcmerci/.emacs.d/eca/eca server --log-level debug

Workspaces: /Users/rcmerci/gh-repos/logseq

Default model: openai/gpt-5.3-codex (Subscription (oauth), expires 2026-04-15 17:53)

Logged providers: 
openai: Subscription (oauth), expires 2026-04-15 17:53

Relevant env vars: 


Credential files: None found

RCmerci avatar Apr 07 '26 06:04 RCmerci

Openai changed how their API slightly respond, working in a fix!

ericdallo avatar Apr 07 '26 12:04 ericdallo

Fixed on 0.124.0!

ericdallo avatar Apr 07 '26 12:04 ericdallo

thanks! can confirm it's fixed

RCmerci avatar Apr 07 '26 12:04 RCmerci

@ericdallo Sorry, I called it fixed too early above... What I’m seeing now is: every tool call triggers ‘retrying.’ At first I thought it was my network issue, but later it seems to be an issue on the ECA side, because codex-cli works normally, and every time I make a tool call, it triggers ‘retrying.’

Image

RCmerci avatar Apr 07 '26 13:04 RCmerci

@RCmerci provider overload means it's a network issue or the provider is really overloaded, I'm about to split those 2 into different messages. I will take a look if it's something on eca side

ericdallo avatar Apr 07 '26 14:04 ericdallo

@RCmerci my previous commit added a regression, just fixed and released 0.124.1, LMK if any other issues!

ericdallo avatar Apr 07 '26 14:04 ericdallo

@ericdallo it works now. thx!

RCmerci avatar Apr 07 '26 14:04 RCmerci