Skip to content

Add :sync argument to gptel-request for synchronous LLM requests#1264

Open
tninja wants to merge 6 commits intokarthink:masterfrom
tninja:sync_argument
Open

Add :sync argument to gptel-request for synchronous LLM requests#1264
tninja wants to merge 6 commits intokarthink:masterfrom
tninja:sync_argument

Conversation

@tninja
Copy link
Copy Markdown

@tninja tninja commented Feb 25, 2026

This PR is a follow up on another one: #1159

@karthink The feedback (#1159 (comment)) was addressed at this commit: 77ace42, sorry for my slow turn around.

Would you mind help take a look? Let me know if there is any other feedback.

Regards

tninja

Copilot AI and others added 5 commits November 25, 2025 19:35
* Initial plan

* Add gptel-request-sync function for synchronous LLM requests

Co-authored-by: tninja <714625+tninja@users.noreply.github.com>

* Address code review feedback for gptel-request-sync

Co-authored-by: tninja <714625+tninja@users.noreply.github.com>

* Improve gptel-request-sync stability: FSM-based completion, disable tools

Co-authored-by: tninja <714625+tninja@users.noreply.github.com>

* Add :sync argument to gptel-request instead of separate gptel-request-sync

Co-authored-by: tninja <714625+tninja@users.noreply.github.com>

* Remove gptel-request-timeout parameter, hardcode 30s timeout

Co-authored-by: tninja <714625+tninja@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tninja <714625+tninja@users.noreply.github.com>
@karthink
Copy link
Copy Markdown
Owner

@tninja I'll take a look. BTW, why did you replace the ^Ms with newlines in the code?

@tninja
Copy link
Copy Markdown
Author

tninja commented Feb 26, 2026

@karthink You're right — that change was accidental. I unintentionally normalized a couple of CR (^M) characters while editing (probably emacs editor normalized that during saving). I'll revert those hunks so the original \r handling stays intact, and push an updated commit. Sorry about the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants