Comments (1)
If we create a LRU cache map prompt to completion, for every server returned completion, we add several entries to cache.
For example: with prompt hello
and completion world
:
- 'hello '->'world'
- 'hello w'->'orld'
- 'hello wo'->'rld'
- ...
When user partially accept the suggestion or typing backspace, the completion cache will be hit. Otherwise a new completion request will be sent.
This looks like a better solution to #127 and this issue.
from tabby.
Related Issues (20)
- Support for corporate proxy in VS Code extension HOT 4
- Support ibm-granite
- Configurable gitlab `host` HOT 1
- Tabby server requires authentication, but the current token is invalid. HOT 2
- Support systemd socket activation (listening on a unix socket)
- I noticed the homebrew install is limited to aarch. Are there plans for amd
- Linux binary fails to download model HOT 2
- Error messages: tabby: kinfo_getfile(): No such process HOT 2
- Tabby exits with the exit code 1 without any errors HOT 12
- ollama http api support HOT 7
- Tabby on modal FileNotFoundError HOT 1
- Err(StreamError("Invalid header value: \"application/json\"")) HOT 2
- RAG support for other languages HOT 1
- how to buy a license,price? HOT 1
- Feature send command to all tabs HOT 2
- high cpu since 0.11.1 HOT 15
- Provide more info when config.toml of tabby is invalid
- tabby-agent build error HOT 1
- "audit.json" file created when using vscode+tabbyml HOT 4
- GPU Tabby: "Error response from daemon: driver failed programming external connectivity on endpoint" HOT 12
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 tabby.