Commit graph

90 commits

Author SHA1 Message Date
dependabot[bot] f9f2f577e7
chore(deps): bump github.com/sashabaranov/go-openai (#369)
Some checks failed
build / build (ubuntu-latest) (push) Successful in 44s
build / snapshot (push) Failing after 0s
lint-soft / lint-soft (push) Failing after 2s
lint / lint (push) Failing after 2s
nightly / nightly (push) Failing after 1s
build / build (windows-latest) (push) Has been cancelled
build / build (macos-latest) (push) Has been cancelled
Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.31.0...v1.32.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 16:40:39 -03:00
dependabot[bot] 68e252cea2
chore(deps): bump github.com/sashabaranov/go-openai (#363)
Some checks failed
build / build (windows-latest) (push) Waiting to run
build / build (macos-latest) (push) Waiting to run
build / build (ubuntu-latest) (push) Successful in 42s
build / snapshot (push) Failing after 1s
lint-soft / lint-soft (push) Failing after 2s
lint / lint (push) Failing after 2s
nightly / nightly (push) Failing after 1s
2024-09-27 13:21:33 +00:00
dependabot[bot] 52c32c33ab
chore(deps): bump github.com/sashabaranov/go-openai (#358)
Some checks failed
build / build (ubuntu-latest) (push) Successful in 37s
build / snapshot (push) Failing after 1s
lint-soft / lint-soft (push) Failing after 2s
lint / lint (push) Failing after 1s
nightly / nightly (push) Failing after 0s
build / build (windows-latest) (push) Has been cancelled
build / build (macos-latest) (push) Has been cancelled
Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.30.0 to 1.30.3.
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.30.0...v1.30.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 09:06:38 -03:00
dependabot[bot] 3596c27196
chore(deps): bump github.com/sashabaranov/go-openai (#353)
Some checks failed
build / build (windows-latest) (push) Waiting to run
build / build (macos-latest) (push) Waiting to run
build / build (ubuntu-latest) (push) Successful in 42s
build / snapshot (push) Failing after 1s
lint-soft / lint-soft (push) Failing after 2s
lint / lint (push) Failing after 1s
nightly / nightly (push) Failing after 0s
Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.29.2 to 1.30.0.
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.29.2...v1.30.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 13:48:26 -03:00
dependabot[bot] dbcd895809
chore(deps): bump modernc.org/sqlite from 1.33.0 to 1.33.1 (#351)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.33.0 to 1.33.1.
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.33.0...v1.33.1)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 13:27:03 -03:00
dependabot[bot] 84099bd296
chore(deps): bump github.com/charmbracelet/bubbletea from 1.1.0 to 1.1.1 (#349) 2024-09-12 14:43:44 +00:00
dependabot[bot] 358ad67afb
chore(deps): bump github.com/sashabaranov/go-openai (#350) 2024-09-12 14:43:40 +00:00
dependabot[bot] 4a549f63d8
chore(deps): bump github.com/sashabaranov/go-openai (#340) 2024-09-09 15:30:25 +00:00
dependabot[bot] 6fe73bdec1
chore(deps): bump modernc.org/sqlite from 1.32.0 to 1.33.0 (#342) 2024-09-09 15:30:21 +00:00
dependabot[bot] bc105b838a
chore(deps): bump github.com/charmbracelet/huh from 0.5.2 to 0.6.0 (#341) 2024-09-09 15:30:16 +00:00
dependabot[bot] c4552e4d28
chore(deps): bump github.com/charmbracelet/glamour from 0.6.0 to 0.8.0 (#329)
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.6.0...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 12:00:20 -03:00
dependabot[bot] 820b220236
chore(deps): bump github.com/cohere-ai/cohere-go/v2 from 2.8.2 to 2.11.0 (#334)
Bumps [github.com/cohere-ai/cohere-go/v2](https://github.com/cohere-ai/cohere-go) from 2.8.2 to 2.11.0.
- [Release notes](https://github.com/cohere-ai/cohere-go/releases)
- [Commits](https://github.com/cohere-ai/cohere-go/compare/v2.8.2...v2.11.0)

---
updated-dependencies:
- dependency-name: github.com/cohere-ai/cohere-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 11:59:06 -03:00
dependabot[bot] f5cb58c326
chore(deps): bump github.com/adrg/xdg from 0.4.0 to 0.5.0 (#328)
Bumps [github.com/adrg/xdg](https://github.com/adrg/xdg) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/adrg/xdg/releases)
- [Commits](https://github.com/adrg/xdg/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/adrg/xdg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 11:58:00 -03:00
dependabot[bot] f92b8b4907
chore(deps): bump github.com/charmbracelet/x/exp/ordered (#335)
Bumps [github.com/charmbracelet/x/exp/ordered](https://github.com/charmbracelet/x) from 0.0.0-20231010190216-1cb11efc897d to 0.1.0.
- [Release notes](https://github.com/charmbracelet/x/releases)
- [Commits](https://github.com/charmbracelet/x/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/exp/ordered
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 11:57:46 -03:00
dependabot[bot] 2cf995689e
chore(deps): bump github.com/charmbracelet/bubbletea (#336)
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.27.0 to 1.1.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.27.0...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 11:57:35 -03:00
dependabot[bot] de6c2637a9
chore(deps): bump github.com/jmoiron/sqlx from 1.3.5 to 1.4.0 (#332)
Bumps [github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/jmoiron/sqlx/releases)
- [Commits](https://github.com/jmoiron/sqlx/compare/v1.3.5...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/jmoiron/sqlx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-30 20:31:29 -03:00
dependabot[bot] 289c8cde11
chore(deps): bump github.com/sashabaranov/go-openai (#324) 2024-08-29 11:45:54 +00:00
dependabot[bot] 3285e7a979
chore(deps): bump github.com/charmbracelet/bubbles from 0.18.0 to 0.19.0 (#322)
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Changelog](https://github.com/charmbracelet/bubbles/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 08:39:20 -03:00
dependabot[bot] 1263140f21
chore(deps): bump modernc.org/sqlite from 1.30.0 to 1.32.0 (#323)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.30.0 to 1.32.0.
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.30.0...v1.32.0)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 08:39:08 -03:00
dependabot[bot] b36985170a
chore(deps): bump github.com/charmbracelet/x/editor (#325)
Bumps [github.com/charmbracelet/x/editor](https://github.com/charmbracelet/x) from 0.0.0-20231116172829-450eedbca1ab to 0.1.0.
- [Release notes](https://github.com/charmbracelet/x/releases)
- [Commits](https://github.com/charmbracelet/x/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 08:38:56 -03:00
dependabot[bot] cc69865d4c
chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 (#326)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 08:38:44 -03:00
dependabot[bot] ae04564dc3
chore(deps): bump golang.org/x/net (#321)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20221002022538-bcab6841153b to 0.23.0.
- [Commits](https://github.com/golang/net/commits/v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 11:27:51 -03:00
Carlos Alexandro Becker 6c20fa7464
feat: use go 1.21
some dependency seems to be using the "cmp" package, and its breaking dependabot

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-28 11:26:05 -03:00
Carlos Alexandro Becker 04f45ae608
feat: better -M forms (#261)
* feat: better -M forms

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: theme

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: prompt

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* wip

* fix: update modernc

refs #186

* fix: forms

* fix: improve form

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-30 09:49:55 -03:00
Carlos Alexandro Becker 37cc9f8fc8
chore(deps): update openai lib
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-30 08:47:59 -03:00
Maxime Brunet fe8a551e66
feat: add support for Cohere (#294) 2024-07-29 16:39:10 -03:00
Carlos Alexandro Becker ac1061c07c
chore(deps): update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-18 15:55:30 -03:00
Carlos Alexandro Becker 8520cea056
fix: add man page (#291)
* fix: add man page

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: help

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-18 11:53:40 -03:00
Carlos Alexandro Becker 4eb14ed00e
chore(deps): update sqlite
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-03 14:05:15 -03:00
Carlos Alexandro Becker 67150b2481
chore(deps): update huh
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-03 11:03:33 -03:00
Carlos Alexandro Becker 6657059664
fix: update modernc
refs #186

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-03 10:07:15 -03:00
Carlos Alexandro Becker f67535f9d8
feat(deps): update openai (#272)
* feat(deps): update openai

closes #269
closes #270

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: err handling

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-24 11:51:02 -03:00
Carlos Alexandro Becker 9ac0968336
feat(deps): update bubbletea, bubbles, lipgloss (#271)
* feat(deps): update bubbletea, bubbles, lipgloss

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: bubbletea update

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-24 11:16:06 -03:00
Christian Rocha dd0cb49ec8
chore(deps): bump Bubble Tea to v0.26.0 (#253) 2024-05-02 15:16:50 -03:00
Carlos Alexandro Becker 917260a811
feat: render list inside a viewport (#228) 2024-04-02 20:36:29 -03:00
Carlos Alexandro Becker 297b0ef653
fix: update log dep
refs https://github.com/charmbracelet/log/pull/111

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-03-04 15:46:32 -03:00
Maas Lalani b5ed18714e
chore: bump huh to latest main (#196) 2024-01-18 23:31:04 -03:00
Christian Rocha 4dd35921ae
chore: pin huh to main (#195) 2024-01-18 16:23:35 -03:00
Maas Lalani 2d255a30ac Pin huh to fix keymap-modifier 2024-01-18 10:58:24 -05:00
Carlos Alexandro Becker 4294c4fa48
fix: use hidden group
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-01-17 16:38:11 -03:00
Carlos Alexandro Becker e085c99aef
feat: support json (#188)
* feat: support json

Introduce a new flag, `--format-as`.

It defaults to `markdown`, and is only used when `--format` is also
specified.

`--format-as=json` will only set the response type to json in supported models, otherwise it'll only add the format text to the prompt.

Also updated the openai library to support this.

Added to the default configuration both `gpt-4-1106-preview` and
`gpt-3.5-turbo-1106`.

Theses are the only models that support the JSON response format.

`format-text` is now a `map[string]string`. Old configs (which have it
as a string) will set the specified formatting text to the `markdown`
format automatically.
Newly generated configs will have both `markdown` and `json` format
texts.

---

closes #167
closes #173

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: lint issues

* feat: reuse constants

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-01-11 23:06:26 -03:00
Carlos Alexandro Becker 5993b71794 fix: improve --help
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-01-09 09:05:51 -03:00
Carlos Alexandro Becker fa1969740f feat: --delete-older-than 2024-01-09 09:05:51 -03:00
Carlos Alexandro Becker 57dca355a0
feat(deps): bump github.com/sashabaranov/go-openai from 1.15.3 to 1.16.0
closes #145

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-16 16:31:06 -03:00
Carlos Alexandro Becker 06cebfe926
feat: reduce binary size (#158)
* feat: reduce binary size

closes #118

* fix: args
2023-11-16 15:01:55 -03:00
dependabot[bot] 63d7d91404
feat(deps): bump modernc.org/sqlite from 1.25.0 to 1.26.0 (#139) 2023-10-23 12:40:47 +00:00
dependabot[bot] eb083de727
feat(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 (#142) 2023-10-23 12:40:35 +00:00
Carlos Alexandro Becker 2121516e69
refactor: use ordered.First (#143)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-10-16 23:21:08 -03:00
dependabot[bot] 11b577bfd6
feat(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.9.1 (#146) 2023-10-13 12:32:56 +00:00
Christian Rocha 97e126d90b chore: wordwrap conversation listing output 2023-09-21 11:05:09 -04:00