diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 5ac53b3b4f30fe22450b58aafd1aa99becea6f45..31fa2c451b57e14ecdd02d05fc54559d74839629 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -31,6 +31,6 @@ jobs: branch: "main" allowlist: charmcli,charmcrush,dependabot[bot] custom-pr-sign-comment: "I have read the Contributor License Agreement (CLA) and hereby sign the CLA." - custom-notsigned-precomment: "Thank you for your submission. We really appreciate it! Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://github.com/charmbracelet/crush/blob/main/CLA.md) before we can accept your contribution. You can sign the CLA by just posting a Pull Request comment same as the below format." + custom-notsigned-prcomment: "Thank you for your submission. We really appreciate it! Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://github.com/charmbracelet/crush/blob/main/CLA.md) before we can accept your contribution. You can sign the CLA by just posting a Pull Request comment same as the below format." lock-pullrequest-aftermerge: false signed-commit-message: "chore(legal): @$contributorName has signed the CLA" diff --git a/Taskfile.yaml b/Taskfile.yaml index eb73dbed124a1a09be612d88d70588c2532a7df4..3993be96f6ac8987a84491f87c4940963b176074 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -28,6 +28,13 @@ tasks: env: GOEXPERIMENT: null + build: + desc: Run build + cmds: + - go build . + generates: + - crush + test: desc: Run tests cmds: @@ -70,3 +77,5 @@ tasks: cmds: - go run main.go schema > schema.json - echo "Generated schema.json" + generates: + - schema.json diff --git a/internal/llm/provider/anthropic.go b/internal/llm/provider/anthropic.go index ad87ccd6387d8ee3242501757e8b8effbe92a44f..18767b56ec04f2615c57931660772cc628ddda20 100644 --- a/internal/llm/provider/anthropic.go +++ b/internal/llm/provider/anthropic.go @@ -178,7 +178,7 @@ func (a *anthropicClient) convertTools(tools []tools.BaseTool) []anthropic.ToolU Description: anthropic.String(info.Description), InputSchema: anthropic.ToolInputSchemaParam{ Properties: info.Parameters, - // TODO: figure out how we can tell claude the required fields? + Required: info.Required, }, }