-
I get this error:
```
chat_template, stop_word, yes_map_eos_token, ollama_modelfile = CHAT_TEMPLATES[chat_template]
~~~~~~~~~…
-
It would be really nice to have a basic and well documented completer example. I hacked something together from the other apps around based on prompt toolkit, it's here: https://gist.github.com/blark/…
blark updated
5 years ago
-
Hey all,
When using `run_in_terminal`, the output will block forever after printing 65536 lines.
This is using the latest prompt_toolkit version (2.0.8), and python 3.
To reproduce simply run …
-
https://github.com/ElvisClaros/GOT-OCR2.0/tree/main
!git clone https://github.com/Ucas-HaoranWei/GOT-OCR2.0.git
%cd /content/GOT-OCR2.0/GOT-OCR-2.0-master/GOT
%cd /content/GOT-OCR2.0/GOT-…
-
Currently `_color_to_code` implements sophisticated support for vt100 terminal colors:
1. Ansi names.
2. 16 colors.
3. 256 colors.
4. True color.
What is missing is the possibility to directly pass t…
-
I am trying to use a `Completion` where the `display_meta` is very long (like help text). But I can't get it to wrap / render new lines (`\r` nor `\n`).
newlines render as `^J`. I also tried using ``…
-
That would require the `readline` module, which we can only be build against `libedit` because of licence issues.
When we updated from Python 3.8.x to 3.10.x, the custom patch we used wasn't update…
dumol updated
2 months ago
-
## Description
On Mac, the normal keyboard shortcut for moving the cursor one word at a time is alt + left/right arrow keys. However, pgcli does not seem to support this when entering a query (it in…
-
I would like to print a warning from `validator.validate()`, using a different color/style.
This warning would not be blocking for the user.
I tried to dig a bit into the code but couldn't find how…
-
ipython 5.0 uses colors for tab completion, which do not work in `rxvt-unicode` without 256 color support (debian `rxvt-unicode` vs. `rxvt-unicode-256color` versions).
I guess there should be a reaso…
allo- updated
7 years ago