New features
Use ::: for multi-line editing, deprecate .edit
〉::: This
is
a
multi-line
message
:::
Temporarily use a role to send a message.
coder〉.role shell how to unzip a file
unzip file.zip
coder〉
As shown above, you temporarily switched to the shell role in the coder role and sent a message. After sending, the current role is still coder.
Set default role/session with config.prelude
For those who want aichat to enter a session after startup, you can set it as follows:
prelude: session:mysession
For those who want aichat to use a role after startup, you can set it as follows:
prelude: role:myrole
Use a model that is not in the --list-models
If OpenAI releases a new model in the future, it can be used without upgrading Aichat.
$ aichat --model openai:gpt-4-vision-preview
〉.model openai:gpt-4-vision-preview
Changelog
- refactor: improve error message for PaLM client by @sigoden in #213
- refactor: rename Model.llm_name to name by @sigoden in #216
- refactor: use &GlobalConfig to avoid clone by @sigoden in #217
- refactor: remove Model.client_index, match client by name by @sigoden in #218
- feat: allow the use of an unlisted model by @sigoden in #219
- fix: unable to build on android using termux by @sigoden in #222
- feat: add
config.prelude
to allow setting default role/session by @sigoden in #224 - feat: deprecate
.edit
, use """ instead by @sigoden in #225 - refactor: improve repl completer by @sigoden in #226
- feat: temporarily use a role to send a message by @sigoden in #227
- refactor: output info contains auto_copy and light_theme by @sigoden in #230
- fix: unexpected additional newline in REPL by @sigoden in #231
- refactor: use ::: as multipline input indicator, deprecate """ by @sigoden in #232
- feat: add openai:gpt-4-1106-preview by @sigoden in #233
Full Changelog: v0.9.0...v0.10.0