Comments (7)
Hello, you can use OpenAI by using the LiteLLM provider proxy.
from twinny.
Just add a new provider with the settings:
from twinny.
Oh, thanks, i will keep that in mind.
I did not see OpenAI anywhere in the docs, so thats why i could not find out. But thanks/
from twinny.
@walkandre where is this setting in the vscode?
from twinny.
@walkandre where is this setting in the vscode?
You should click the plug π icon at the top. You should also install a local proxy for OpenAI such as LiteLLM or similar.
from twinny.
@rjmacarthy
Thanks for your fast response! I found the button and it worked well. The chat model works fine. However, the gpt3.5-turbo-instruct model for FIM generates <PRE> and <MID> tokens. Do you know how can i fix it?
Providers
Label*: OpenAI FIM
Type*: fim
Fim Template*: automatic
Provider*: litellm
Protocol*: http
Model name*: gpt-3.5-turbo-instruct
Hostname*: 0.0.0.0
Port*: 34162
API path*: /chat/completions
from twinny.
@rjmacarthy Thanks for your fast response! I found the button and it worked well. The chat model works fine. However, the gpt3.5-turbo-instruct model for FIM generates
and tokens. Do you know how can i fix it?Providers Label*: OpenAI FIM Type*: fim Fim Template*: automatic Provider*: litellm Protocol*: http Model name*: gpt-3.5-turbo-instruct Hostname*: 0.0.0.0 Port*: 34162 API path*: /chat/completions
Hey I'm not sure about FIM with OpenAI API...I saw some legacy stuff before but never tested it. You could try a custom FIM template or explore the API docs. Please let me know how you get on.
from twinny.
Related Issues (20)
- Can't select any model if Ollama has a long list of models HOT 1
- Does Twinny support embeddings without Ollama? HOT 13
- Feature request: Command+I in-line chat / Shortcut to chat with current selection HOT 4
- Revise icons / customizable icons HOT 2
- Remote Extension host terminated unexpectedly 3 times within the last 5 minutes. HOT 2
- Chat not "understanding" Ollama streaming. HOT 3
- Infinite loading of FIM when in remote VSCode(SSH) having opened unsaved interactive Jupyter tab. HOT 2
- "Sorry, I donβt understand. Please try again." - invalid option rope_frequency_base HOT 4
- Added a BOS token to the prompt as specified by the model but the prompt also starts with a BOS token. HOT 1
- Chat not working no matter the model used HOT 4
- Add support for qwen2.5-coder HOT 12
- Twinny Extension crashing on VsCodium and VSCode HOT 13
- Managing prompt context
- OpenAI: o1 models fail to work
- Custom Templates not working with 3.17 HOT 1
- Utilizing Open WebUI Embeddings with Ollama i.e., `/ollama/v1/embeddings`
- when toggle autoscroll during generation the user message is lost
- Embed File Type Filter HOT 1
- Support for repo-level autocompletion (like in Qwen-2.5-Coder) HOT 2
- full response in the tittle 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
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 β€οΈ Open Source for everyone.
Alibaba
Alibaba Open Source for everyone
D3
Data-Driven Documents codes.
Tencent
China tencent open source team.
Jobs
Jooble
from twinny.