Tags: tiomoreno/CodeGPT
Tags
chore: remove `###` from prompt file (appleboy#170) - Remove unnecessary `###` markers from template files Signed-off-by: appleboy <appleboy.tw@gmail.com>
chore: update dependencies for color and openai libraries - Update `github.com/fatih/color` dependency from `v1.16.0` to `v1.17.0` - Update `github.com/sashabaranov/go-openai` dependency from `v1.23.1` to `v1.24.0` Signed-off-by: appleboy <appleboy.tw@gmail.com>
feat(ToolChoice): refactor chat system and tool selection (appleboy#159) - Add a system chat message with the content "You are a helpful assistant." - Introduce a new `ToolChoice` structure with `Type` set to `ToolTypeFunction` and `Function` containing the function name. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
chore: update dependencies and versions in go.mod files - Update dependency `github.com/sashabaranov/go-openai` from v1.20.3 to v1.20.4 in go.mod - Update dependency `github.com/pelletier/go-toml/v2` from v2.1.1 to v2.2.0 in go.mod - Update dependency `golang.org/x/exp` version in go.mod Signed-off-by: appleboy <appleboy.tw@gmail.com>
feat: refactor OpenAI model integration - Update dependencies in `go.mod` to newer versions - Replace `gpt-4-1106-preview` with `gpt-4-0125-preview` and `gpt-4-turbo-preview` in `openai.go` - Add new OpenAI model constants for `gpt-3.5-turbo-0125` and `gpt-3.5-turbo-1106` in `openai.go` - Include new OpenAI model identifiers in the `Completion` function's model list in `openai.go` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
chore(timeout): update default timeout to 30 seconds across files (ap… …pleboy#145) - Increase the default timeout to `30` seconds - Change the default timeout to `30` seconds in the `commitCmd` function - Change the `availableKeys` map value for `openai.timeout` from `http timeout` to `request timeout` - Remove the import of `time` in the `cmd/config_set.go` file - Change the default timeout to `30` seconds in the `configSetCmd` function Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
PreviousNext