Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with gptel Package When Using Non-Streaming APIs and Specific default-process-coding-system #710

Open
WeissP opened this issue Mar 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@WeissP
Copy link

WeissP commented Mar 16, 2025

IF your feature request is related to a problem
When using the gptel package with gptel-stream set to nil or calling an API without stream support, if default-process-coding-system is set to '(utf-8 . utf-8), the response is never shown. This issue is particularly hard to pinpoint because it functions correctly with gpt-4o but not with o3-mini (which doesn’t support streaming). No error messages are displayed, even with the log level set to info, leaving the user with a "querying gpt..." message and no further results.

Describe the solution you'd like
I would like the README to include information about the importance of default-process-coding-system for non-streaming APIs. Additionally, it would be great if error messaging can indicate potential issues with default-process-coding-system when responses are not being displayed.

Additional context
The issue took me several hours to identify due to the lack of error messaging and documentation regarding default-process-coding-system related problems. I hope this change will prevent other users from encountering the same issue and wasting time trying to resolve it 😃 .

@WeissP WeissP added the enhancement New feature or request label Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant