Comments (9)
I'll leave the issue open, since I think it is a good change. (I have alot of issues open that I'll never spend the time to implement but maybe someone else will take pity on me and help xD)
Please let me know if you need any help navigating the codebase, I know learning React can be pretty daunting for beginners.
from koalaclient.
btw, i'm working on this myself now, so no need to try. development is occurring on the 2.0.9 branch
from koalaclient.
Thanks for your input. Btw, 2.1.0 is still in development, not in a working state yet.
from koalaclient.
@imesha10
Hi, I don't ever use custom proxies, but I'd be willing to accept a PR for this implemented as a settings menu for it like there is with Prompt Library (ideally with the ability to hide certain default ones in the dropdown.) with the ability to specify token pricing and max tokens.
From a code standpoint, this will require refactoring away from the custom ModelChoice type, probably just to a standard string.
from koalaclient.
@imesha10 Hi, I don't ever use custom proxies, but I'd be willing to accept a PR for this implemented as a settings menu for it like there is with Prompt Library (ideally with the ability to hide certain default ones in the dropdown.)
From a code standpoint, this will require refactoring away from the custom ModelChoice type, probably just to a standard string.
Alright, I'll try to do a pr in the comming weeks. I have very little experiece with node and related but I will be able to figure it out.
Please close this issue when you see it and I will reopen a pull request once I'm done.
If I don't then assume that I failed.
(oh and when I meant proxies, what I meant was custom openai endpoints.)
Thanks!
from koalaclient.
btw, i'm working on this myself now, so no need to try. development is occurring on the 2.0.9 branch
Ok that's good. Thank you.
from koalaclient.
@jackschedel
Oh ya by the way if you didn't know. OpenAI default endpoint and most openai proxies gives a list of all the available models via the /v1/models endpoint.
So all you have to do is send a call to that and it will return a json object that you can then parse into the application.
This is how applications like SillyTavern and other ones work.
You can find more info in here https://platform.openai.com/docs/api-reference/models
If you want to see examples in a different language then press this drop box and choose:
from koalaclient.
I'm instead implementing the ability to do fully custom model names, so KoalaClient can be used with any endpoint.
from koalaclient.
I'm instead implementing the ability to do fully custom model names, so KoalaClient can be used with any endpoint.
Ya it's definitely a very useful feature to be able to enter custom model names so it can be used with any endpoint type and it basically will fix my problem of being unable to use certain models.
However I should mention that after looking at this project (KoalaClient) and using it for a while I have some thoughts.
I think you should definitely after this feature or some features down the line consider making it so that it auto populates the model list for the ones that has that feature.
I'm taking a blind guess but I'm guessing most of your users will be openai (85%) anthropic/claude(10%), and other(5%).
So if you implement this later you would be able to get most of your users all the models they have access to (all openai models from /v1/models). This makes it so that most of your users will not have to go into the api connection menu and manually input their specific models which will make the app feel simple and very easy to use.
Currently KoalaClient can't seem to fetch other openai models and it's limited to:
Here is a similar one where it auto fetches in SillyTavern via a proxy:
I just complied the latest version 3.0.9 and it does not seem to have the model "gpt-4-0125-preivew". So if you were to auto populate the list you would not have to constantly update it with the latest and the best models at least for openai.
Anyways these are just thoughts and I might be wrong or thinking in the wrong direction. Thanks for you time.
from koalaclient.
Related Issues (20)
- Ctrl+Left and Ctrl+Right are hijacked by the app HOT 2
- Is it possible to support OpenRouter models? HOT 6
- support azure-openai gpt-35-turbo models HOT 5
- max token pop alert HOT 3
- support gpt4-tubor-preview? HOT 1
- after upgrade to latest, have to delete all config and restart the software. The old config files have to be exported and imported HOT 3
- new api gpt-4-0125-preview HOT 2
- [Bug] KoalaClient-2.1.0-win-x64.exe gives a gray blank window HOT 17
- Google Sync seems to be broken HOT 4
- Max context setting - minor bugs HOT 1
- (feature idea) Automatically set model according to settings & chat size HOT 3
- make chat search auto-expand all folders
- Claude API HOT 1
- Save/Save and Submit should stop Whisper record and wait to resolve transcription before chat completion
- add clear search bar X button
- Token length bugs? HOT 2
- Automatically focus text area on new chat
- New tab keybind
- Inconsistent Chat Title Naming Behaviour on Creating New Chat HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koalaclient.