Commit graph

161 commits

Author SHA1 Message Date
Carlos Alexandro Becker b052425646
feat: auto --glamour if tty (#93)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-03 13:38:47 -03:00
Carlos Alexandro Becker 365d8b0f6d
fix: handle no conversations folder on --list (#94)
* fix: handle no conversations folder on --list

* fix: import
2023-08-03 13:37:57 -03:00
Toby Padilla 79e6dbcd16 feat: stream response, -g to render with glamour
Co-authored-by: Christian Rocha <christian@rocha.is>
2023-07-31 14:41:19 -04:00
Christian Rocha 85307e765a chore(lint): wrap errors, remove magic numbers, add nolint directives 2023-07-31 14:41:19 -04:00
Christian Rocha 5261849346 fix(lint): drop deprecated 'ifshort' in soft linter 2023-07-31 14:41:19 -04:00
Christian Rocha 59944a3708 feat(deps): upgrade to Go 1.20 2023-07-31 14:41:19 -04:00
Guorui Yu 4637368199
feat: add support for HTTP proxy in the configuration. (#88)
If the `HTTPProxy` field is set in the configuration, create an
  `http.Client` with the specified proxy URL and use it in the
`openai.NewClientWithConfig` function.

Co-authored-by: Guorui Yu <GuoRui.Yu@linux.alibaba.com>
2023-07-21 09:33:37 -05:00
Alex Herring 6163a856f8
feat: add ability to continue, save, and manage conversations (#82)
* feat: add --continue and --no-cache
* feat: continue saved conversations
* feat: `--list` and `--delete`, refactor cache
* feat: allow cache path to be set in mods.yml
2023-07-18 08:25:53 -05:00
Toby Padilla 66b4da2d64 fix: properly exit bubble tea on missing flag err 2023-06-29 17:51:31 -05:00
Toby Padilla 00f9c3ec54 feat: better --reset-settings styling 2023-06-29 12:55:29 -05:00
Toby Padilla 4d364599ee feat: --reset-settings backup & restore defaults 2023-06-28 17:06:36 -05:00
Toby Padilla 339291dc1b docs: move examples to examples.md 2023-06-28 09:38:40 -05:00
dependabot[bot] a149b14bcd feat(deps): bump github.com/muesli/termenv
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv) from 0.15.2-0.20230414211128-452975b1f758 to 0.15.2.
- [Release notes](https://github.com/muesli/termenv/releases)
- [Commits](https://github.com/muesli/termenv/commits/v0.15.2)

---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 09:36:24 -05:00
dependabot[bot] b1b334a593 feat(deps): bump github.com/sashabaranov/go-openai from 1.11.3 to 1.12.0
Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.11.3 to 1.12.0.
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.11.3...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/sashabaranov/go-openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 14:21:35 -05:00
Toby Padilla 23b408d108 feat: custom -f response formatting text in config 2023-06-23 16:13:41 -05:00
Toby Padilla fe198ef271 fix: correctly render standard in with -P flag 2023-06-23 14:55:50 -05:00
Toby Padilla 1a4290533e chore: bump deps 2023-06-22 17:24:16 -05:00
Lena eb6ab5a92b fix(readme): pass README.md to stdin in the example 2023-06-22 17:21:44 -05:00
Toby Padilla 3bd6d54b60 feat: specify api key env var in config 2023-06-22 14:51:33 -05:00
Sertac Ozercan 0d77a1ff9c feat: add azure openai support
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
2023-06-20 17:59:30 -05:00
dependabot[bot] e25b6d5677
feat(deps): bump github.com/sashabaranov/go-openai from 1.10.1 to 1.11.2
Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.10.1 to 1.11.2.
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.10.1...v1.11.2)

---
updated-dependencies:
- dependency-name: github.com/sashabaranov/go-openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 08:07:52 +00:00
Maas Lalani 1a71d3ee4f
fix: mods variabled spelling 2023-06-13 16:22:42 -04:00
Toby Padilla b63c7dba1b feat: add gpt-3.5-turbo-32k 2023-06-13 13:36:29 -05:00
Christian Rocha 68fdc9fb9e chore: use ellipsis spinner ported to Bubbles 2023-06-12 16:53:59 -05:00
Carlos Alexandro Becker 3ca6dbe31a fix: print the filename if config is invalid
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-08 11:36:55 -05:00
Toby Padilla 3fa9422225 chore: bump deps 2023-06-08 11:20:51 -05:00
Toby Padilla cc0789110d chore: deps update 2023-06-05 15:12:23 -05:00
Christian Rocha 37762d9115 fix(lint): magic number 2023-06-05 09:52:14 -05:00
Christian Rocha ee65378cd3 feat: anim color cycling 2023-06-05 09:52:14 -05:00
Christian Rocha 65cf1b39ab chore: separate cycling and label char slices 2023-06-05 09:52:14 -05:00
Christian Rocha 53bf435245 chore: rename cyclingChars to anim 2023-06-05 09:52:14 -05:00
Toby Padilla 77033f134e feat: streamline yaml config 2023-05-25 07:56:06 -05:00
Christian Rocha 89f70313aa feat: use XDG_CONFIG_HOME as config path if set 2023-05-25 07:56:06 -05:00
Toby Padilla 164133a433 chore: update deps 2023-05-25 07:56:06 -05:00
Toby Padilla 723d801e40 docs: add local model support 2023-05-25 07:56:06 -05:00
Toby Padilla ec4b86e61e feat: configure models in settings file 2023-05-25 07:56:06 -05:00
Toby Padilla b305eee847 fix: trim newline in template 2023-05-25 07:56:06 -05:00
Toby Padilla 2ed145c875 fix: don't require openai token when using localai 2023-05-25 07:56:06 -05:00
Toby Padilla 0ab7a5a9b1 feat: support multiple openai compatible endpoints 2023-05-25 07:56:06 -05:00
Toby Padilla aa6e574b61 feat: edit settings with -s flag 2023-05-25 07:56:06 -05:00
Toby Padilla 01254935bc feat: improve config file error handling 2023-05-25 07:56:06 -05:00
Toby Padilla 8c93788f5a feat: add config file 2023-05-25 07:56:06 -05:00
Christian Rocha facd11e31d fix: create style with model's Lip Gloss renderer 2023-05-23 15:27:29 -05:00
Toby Padilla 6ad938f73c chore: bump deps 2023-05-22 09:39:23 -05:00
Christian Rocha 8f0637374f feat: customize text shown in generating animation 2023-05-22 09:37:02 -05:00
Christian Rocha e6352fdd84 docs(readme): add AUR installation instructions 2023-05-15 12:27:28 -04:00
Ayman Bagabas 3a0a62465e
fix(ci): remove soft-serve workflow 2023-05-12 14:07:18 -04:00
Toby Padilla 25f741893f feat: fallback to gpt-3.5-turbo if api 404s 2023-05-12 11:54:42 -05:00
Christian Rocha 33fe9909a2
fix(docs): links to releases, again 2023-05-12 11:08:49 -04:00
Christian Rocha 938f864317
fix(docs): links to releases 2023-05-12 11:00:54 -04:00