Git Product home page Git Product logo

Comments (6)

karthink avatar karthink commented on May 24, 2024

Thanks, I'm looking into it. What is the value of the variable gptel-use-curl?

from gptel.

ghowoo avatar ghowoo commented on May 24, 2024

Thanks karthink. I hope I get the value right:

(describe-variable gptel-use-curl)
#("t’s value is t

Not documented as a variable.

Probably introduced at or before Emacs version 1.1.

" 96 99 (help-args ("c:/Program Files/Emacs/emacs-28.2/share/emacs/28.2/etc/NEWS.1-17" 95921) category help-news-button button (t)))

from gptel.

karthink avatar karthink commented on May 24, 2024
  1. Did you use a dedicated gptel buffer (M-x gptel) or select some text in a regular buffer?

  2. Could you tell me the version of curl installed on your system? (curl --version should do it.)

  3. Could you please run (setq gptel-use-curl nil) and retry?

from gptel.

ghowoo avatar ghowoo commented on May 24, 2024

Thanks for help.
1, I use M-x gptel
2, I work on Windows 11
curl --version
curl 7.88.1 (Windows) libcurl/7.88.1 Schannel WinIDN
Release-Date: 2023-02-22
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets
3, After run (setq gptel-use-curl nil), gptel works.

I am not sure if it has solved the problem, but it works right now. thx.

from gptel.

karthink avatar karthink commented on May 24, 2024

It looks like you'll need curl v8.0 or higher to use it with gptel.

Of course, you can fall back to url-retrieve (as you did), but this doesn't support all the features -- specifically the live-streaming replies that will be added soon.

from gptel.

jamauldrew avatar jamauldrew commented on May 24, 2024

(setq gptel-use-curl nil), works for me.

from gptel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.