You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using LLMs other than OpenAI for AI command search #3779
Would it be possible to use other LLM service providers for powering the AI command search feature?
A particularly interesting example for LLM provider is [Ollama](https://ollama.ai/), which runs the LLMs locally on Mac. Privacy-wise this solution would be more preferable than Open AI.
Is your feature request related to a problem? Please describe.
If this is a feature that will be looked at, please include APIs for kobold, text-generation-webui, text-generation-inference, and aphrodite. They are the major backends that are used in the OSS AI world.
Reacted by emmaalecrim, Harry Holt, Rafa Leo, xhlr8, dguachala, AtHeartEngineer, Logan, marcoleder, Ricky M, Richard (Rick) Johnn and 4 more
Thanks for this feature request! To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified. (Please avoid adding spam comments like 👍 or +1)
Also, there is a related request here to set your own OpenAI API key #2788
Reacted by AmmadGetlicensed, Serhii Patiiuk, nelsenm2, Tich187, steeeeev0, treica, Soubinan KACOU, Thiago Lopes, Hantzley Tauckoor, cetindogu and 1 more
Reacted by Gaurav Misra, Ripper, Bagus Tris Atmaja, Giuseppe Marinelli, majick, Nicholas Frederich, Bhavik Talaviya , Lennart Krauch, Max, Cassie and 140 more
Reacted by Bhavik Talaviya , Lennart Krauch, Max, Matthew Fine, Jamie Gardner, Harry Holt, Ayush Singhal, Leo Newton, xhlr8, Davey Moran and 18 more
It's disappointing this is the solution for those of us using it personally but care about privacy.
I was hoping warp was calling openai directly so I could just redirect it to a local model...
But it seems that is not the case.
It is just calling app.warp.dev/graphql and passing your comment and and minor system information to a notebook running on their server it seems. By default configured for openai but if you pay then they can point you somewhere else.
Still not a local model though.
While it is cool and there are features I like, I am not really keen on having my data going through two companies.
Their model prompt is pretty simple. Just tells the LLM what it can answer questions about, what format to answer in and passes that minor machine information to it. Pretty standard stuff.
I think the only solution for someone like me who wants a smart terminal but cares about privacy would be to use a regular terminal and something like ask.sh and open interpreter.
I'm actually surprised they didn't integrate open interpreter into warp. Seems like a missed opportunity.
Reacted by Gaurav Misra, Ripper, Bhavik Talaviya , Lennart Krauch, Matthew Fine, Bagus Tris Atmaja, Silvio Ney, Timu, Brandon Seaver, Khairu Aqsara and 50 more
Why not include support for litellm for a fixed one time price?
Reacted by Bhavik Talaviya , Lennart Krauch, Bagus Tris Atmaja, Matthew Fine, Randy Singh, Christopher, dguachala, AtHeartEngineer, Akhil S. Behl, Maxime Séguin and 7 more
Reacted by dguachala, AtHeartEngineer, beezu, Thomas Herrmann, marcoleder, Juan Jose Soliz Priore, Peter Avila, Felix Olbrich, Akshay Pachaar, Yarrow and 20 more
There are some countries, in which You are not able to subscribe, because VISA and MasterCard banned those countries. Willing or not - You just can't subscribe or not able to do one-time payment(if it will become possible).
There are some companies, in which it's strongly advised not to leak any info to any online services and the only safe way to use any AI-kind instruments is to host them locally or inside company environment.
Reacted by Jan, xhlr8, alexrabin-sentracam, Colin Ozanne, Underscore, O.T, Juan Jose Soliz Priore, Felix Olbrich, Bentley Smith, jaredtmartin and 6 more
Why is this not a standard feature anyways? And to limit it behind enterprise payment wall — can you think of another way to say "f*ck you" to the user?
Seriously unfortunate that this otherwise amazing product is severely gimped in functionality by this short sightedness
Reacted by xhlr8, dguachala, alexrabin-sentracam, AtHeartEngineer, Crest Li, beezu, Sergio Shevchenko, Gregory Horvay, Colin Ozanne, slavachertanovo and 37 more
I'm disabled, on a fixed income, and simply can't afford this--like, on top of all the other stuff that I really shouldn't even be spending on? Really? REALLY? I'm trying to #!@$&%$ develop more skills so that I can do some contract work from home and maybe have a life. Ever try having a life without disposable income? It's like trying to bite your teeth or tie your fingers in a knot. I'd be willing to pay a fee for a non-gimped version. That's fair (it goes without saying that I'm not expecting you to actually answer queries for free, just allow the user to leverage a different backend). You certainly deserve to be able to recoup your development costs and profit.
Your business model is not my prerogative, of course--just as e.g. OpenAI's business model is not yours. Don't you see the paradox you're enmeshed in now? The more lucrative your business, the greater the incentive for a large firm to out-compete you. I don't get off on harboring feelings of illusory superiority, so I suspect you've thought all this through already. Yeah--it's so obvious! If you guys are bright enough to develop this software and run a successful business, you must have realized this long ago!
OK, so you want an income stream instead of a one-time payment? You could offer a subscription license at a substantially reduced cost that doesn't access your AI, instead allowing users to leverage their own backend. It would take some effort and possibly cut into your profit a little bit during price discovery, but I think that ultimately it would be more lucrative for you. Wouldn't you rather make some money off of all the people who are posting here (and the others who haven't bothered) instead of nothing? Seems like a win-win to me ...
Why is this not a standard feature anyways? And to limit it behind enterprise payment wall — can you think of another way to say "f*ck you" to the user?
Because answering AI queries costs money, and writing the code to integrate such slick functionality into a terminal application is work! That's why. Wait, you realize that your computer isn't running the actual AI, right?
Seriously unfortunate that this otherwise amazing product is severely gimped in functionality by this short sightedness
Short-sightedness? Should they just work for free or something? You might as well ask, "Why is wheat so gimped? Doesn't nature realize we're hungry? It's such an awesome plant, why the f do we have to go through all this B.S. of harvesting it and milling it and baking it ..."
Reacted by Saurabh Mehta and Johnathan Raymond
Reacted by xh1lr8-alt, John Steel, Vladimir Kirilenko, Alex, Adam Kauffman, Zachary Taylor, Rubén Torres Bonet, Adrián Kamycki, Andrey Nikiforov and Steven Barber
I didn't see this before. Oh, well, I don't have a need for everything else in that tier. I do have a role in an enterprise, though, so I'll contact you to work out a mutually agreeable price and terms of service.
Because answering AI queries costs money, and writing the code to integrate such slick functionality into a terminal application is work! That's why. Wait, you realize that your computer isn't running the actual AI, right?
A lot of us do run our own LLMs and adding support for that just offloads cost and processing from warp. Well it would if they were running their own models but we know they are just proxying over to OpenAI so really it'd just reduce cost.
In the spirit of this, as a fish shell user, I have just found an ai plugin for it: fish ai. I'm going to connect it to my local Ollama instance and give it a go 🤞🏼. Hope this helps others as well.
Reacted by Adam Kauffman, Zachary Taylor and Lucas KH Liu
As of our most recent release you can choose between gpt-4o, claude sonnet, and claude haiku. We will continue to add more options. Still exploring local and BYO.
Reacted by Lee Harrold, Linus Smash Tips, Zhuoran John Li, Oketa Fred, Felix Olbrich, regs, Adam Kauffman, ClosedEyesSeeing, Travis Wichert and Zachary Taylor
It is just calling app.warp.dev/graphql and passing your comment and and minor system information
What would happen if you intercept traffic to this endpoint within your local environment and proxy it instead back to your Ollama endpoint? pretty simple with Caddy . . maybe folks will eventually reverse-engineer the graphql layer.
Because there are hundreds of thousands of folks who do not want to hand over the keys to their entire system and all of their clients to unaccountable AI, so if you want to make more money with the application . .
Reacted by Felix Olbrich, Wes Mason, Pedro Cardoso da Silva, dbul, HugoCDN, Anton, Vedmaka, andygmassey and Steven Barber
Thanks for raising this — we’re moving toward broader provider support. @zachlloyd shared that we plan to support arbitrary OpenAI-compatible endpoints for BYOK in the near term, and are also planning client-side local model and ACP support for cases that shouldn’t route through Warp’s servers. Details: #9619 (comment)
Activity
HarmonyTechLabs commentedon Oct 16, 2023
If this is a feature that will be looked at, please include APIs for kobold, text-generation-webui, text-generation-inference, and aphrodite. They are the major backends that are used in the OSS AI world.
dannyneira commentedon Oct 16, 2023
Thanks for this feature request! To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified. (Please avoid adding spam comments like 👍 or +1)
Also, there is a related request here to set your own OpenAI API key #2788
keo commentedon Jan 15, 2024
👍
dannyneira commentedon Mar 6, 2024
Hey Folks, the "bring your own LLM" feature is now an Enterprise tier. Please see our pricing page for the most updated info. https://www.warp.dev/pricing
nmcbride commentedon Apr 3, 2024
It's disappointing this is the solution for those of us using it personally but care about privacy.
I was hoping warp was calling openai directly so I could just redirect it to a local model...
But it seems that is not the case.
It is just calling
app.warp.dev/graphqland passing your comment and and minor system information to a notebook running on their server it seems. By default configured for openai but if you pay then they can point you somewhere else.Still not a local model though.
While it is cool and there are features I like, I am not really keen on having my data going through two companies.
Their model prompt is pretty simple. Just tells the LLM what it can answer questions about, what format to answer in and passes that minor machine information to it. Pretty standard stuff.
I think the only solution for someone like me who wants a smart terminal but cares about privacy would be to use a regular terminal and something like ask.sh and open interpreter.
I'm actually surprised they didn't integrate open interpreter into warp. Seems like a missed opportunity.
keyvez commentedon Apr 6, 2024
Why not include support for litellm for a fixed one time price?
kbaegis commentedon Jul 30, 2024
localllama or bust for me. Sorry.
Love the product otherwise.
utegental commentedon Aug 12, 2024
There are some countries, in which You are not able to subscribe, because VISA and MasterCard banned those countries. Willing or not - You just can't subscribe or not able to do one-time payment(if it will become possible).
There are some companies, in which it's strongly advised not to leak any info to any online services and the only safe way to use any AI-kind instruments is to host them locally or inside company environment.
xhlr8 commentedon Aug 27, 2024
Why is this not a standard feature anyways? And to limit it behind enterprise payment wall — can you think of another way to say "f*ck you" to the user?
Seriously unfortunate that this otherwise amazing product is severely gimped in functionality by this short sightedness
xochtil-xerxes commentedon Oct 5, 2024
It'd be cool to have the ability to self host the llm for everyone. enterprise feels like a massive middle finger
Ayandaftary commentedon Oct 6, 2024
Feels like it because it is, everyone asking for it on this thread are personal users.
BlairSadewitz commentedon Oct 24, 2024
I'm disabled, on a fixed income, and simply can't afford this--like, on top of all the other stuff that I really shouldn't even be spending on? Really? REALLY? I'm trying to #!@$&%$ develop more skills so that I can do some contract work from home and maybe have a life. Ever try having a life without disposable income? It's like trying to bite your teeth or tie your fingers in a knot. I'd be willing to pay a fee for a non-gimped version. That's fair (it goes without saying that I'm not expecting you to actually answer queries for free, just allow the user to leverage a different backend). You certainly deserve to be able to recoup your development costs and profit.
Your business model is not my prerogative, of course--just as e.g. OpenAI's business model is not yours. Don't you see the paradox you're enmeshed in now? The more lucrative your business, the greater the incentive for a large firm to out-compete you. I don't get off on harboring feelings of illusory superiority, so I suspect you've thought all this through already. Yeah--it's so obvious! If you guys are bright enough to develop this software and run a successful business, you must have realized this long ago!
OK, so you want an income stream instead of a one-time payment? You could offer a subscription license at a substantially reduced cost that doesn't access your AI, instead allowing users to leverage their own backend. It would take some effort and possibly cut into your profit a little bit during price discovery, but I think that ultimately it would be more lucrative for you. Wouldn't you rather make some money off of all the people who are posting here (and the others who haven't bothered) instead of nothing? Seems like a win-win to me ...
BlairSadewitz commentedon Oct 24, 2024
Because answering AI queries costs money, and writing the code to integrate such slick functionality into a terminal application is work! That's why. Wait, you realize that your computer isn't running the actual AI, right?
Short-sightedness? Should they just work for free or something? You might as well ask, "Why is wheat so gimped? Doesn't nature realize we're hungry? It's such an awesome plant, why the f do we have to go through all this B.S. of harvesting it and milling it and baking it ..."
BlairSadewitz commentedon Oct 24, 2024
I didn't see this before. Oh, well, I don't have a need for everything else in that tier. I do have a role in an enterprise, though, so I'll contact you to work out a mutually agreeable price and terms of service.
nmcbride commentedon Oct 25, 2024
@BlairSadewitz
A lot of us do run our own LLMs and adding support for that just offloads cost and processing from warp. Well it would if they were running their own models but we know they are just proxying over to OpenAI so really it'd just reduce cost.
Anywho, I've done a lot of looking for an AI replacement to just ditch Warp and integrate into zsh directly. So far the best I have found is: https://github.com/charmbracelet/mods which supports paid options as well as local ones running on your machine.
peter-avila commentedon Dec 6, 2024
In the spirit of this, as a fish shell user, I have just found an ai plugin for it: fish ai. I'm going to connect it to my local Ollama instance and give it a go 🤞🏼. Hope this helps others as well.
richard-fairthorne commentedon Dec 11, 2024
You don't need an AI for this. If you really want one, the source code is freely available. Why don't you try to add this feature yourself.
zachlloyd commentedon Dec 14, 2024
As of our most recent release you can choose between gpt-4o, claude sonnet, and claude haiku. We will continue to add more options. Still exploring local and BYO.
shareable-vision commentedon Jan 6, 2025
What would happen if you intercept traffic to this endpoint within your local environment and proxy it instead back to your Ollama endpoint? pretty simple with Caddy . . maybe folks will eventually reverse-engineer the graphql layer.
Because there are hundreds of thousands of folks who do not want to hand over the keys to their entire system and all of their clients to unaccountable AI, so if you want to make more money with the application . .
dannyneira commentedon Jan 17, 2025
Hi Folks, as mentioned before, we've added the option to choose different models when working with Agent Mode.
I will close this request, but we will be tracking the following requests for other features related to alternative LLMs:
If you could please give it a 👍 and subscribe to those requests, it would help us gauge interest. We'll post any updates there, so stay tuned!
bholmesdev commentedon May 6, 2026
Thanks for raising this — we’re moving toward broader provider support. @zachlloyd shared that we plan to support arbitrary OpenAI-compatible endpoints for BYOK in the near term, and are also planning client-side local model and ACP support for cases that shouldn’t route through Warp’s servers. Details: #9619 (comment)