Skip to content

Conversation

neomantra
Copy link
Contributor

@neomantra neomantra commented Aug 13, 2025

Describe your changes

I added a simple build task (for parity) and bridged the Required parameters from the internal crush struct (extracted from mcp-go) to the Anthropic API struct.

I have self-reviewed my code and implemented this through inspection of the three repos. That said, I have not end-to-end tested it, i.e. having a test with Required args and seeing if Claude honors it, etc. I assumed this code was omitted due to project velocity and not that there was some specific issue.

Also fixed the CLA.

Checklist before requesting a review

@charmcli
Copy link
Contributor

charmcli commented Aug 13, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@neomantra neomantra force-pushed the nm-739 branch 2 times, most recently from c60db5d to fd94a60 Compare August 13, 2025 15:29
@neomantra
Copy link
Contributor Author

Also fixed the cla.yml, due to this run: https://github.com/charmbracelet/crush/actions/runs/16941862978

Unexpected input(s) 'custom-notsigned-precomment', valid inputs are ['path-to-signatures', 'branch', 'allowlist', 'remote-repository-name', 'remote-organization-name', 'path-to-document', 'signed-commit-message', 'signed-empty-commit-message', 'create-file-commit-message', 'custom-notsigned-prcomment', 'custom-pr-sign-comment', 'custom-allsigned-prcomment', 'use-dco-flag', 'lock-pullrequest-aftermerge', 'suggest-recheck']

Added a build task for parity with other task commands.
Used the suggested build command from the README.

Also added "generates" annotations, which is useful as the
Taskfile grows.

Signed-off-by: Evan Wies <evan@neomantra.net>
Signed-off-by: Evan Wies <evan@neomantra.net>
Signed-off-by: Evan Wies <evan@neomantra.net>
@neomantra neomantra requested a review from a team as a code owner August 14, 2025 18:23
@caarlos0 caarlos0 changed the title Fix: Expose Required params to Anthropic API fix: Expose Required params to Anthropic API Aug 14, 2025
@neomantra
Copy link
Contributor Author

I have read the Contributor License Agreement (CLA) and hereby sign the CLA.

@caarlos0 caarlos0 merged commit a02bd99 into charmbracelet:main Aug 18, 2025
10 of 11 checks passed
@caarlos0
Copy link
Member

thanks @neomantra 🙏🏻

scalabl3 pushed a commit to metaphori-ai/crush that referenced this pull request Aug 19, 2025
* chore: add build task and generates annotations

Added a build task for parity with other task commands.
Used the suggested build command from the README.

Also added "generates" annotations, which is useful as the
Taskfile grows.

Signed-off-by: Evan Wies <evan@neomantra.net>

* fix: expose Required params to Anthropic client

Signed-off-by: Evan Wies <evan@neomantra.net>

* fix: typo in cla.yml  precomment -> prcomment

Signed-off-by: Evan Wies <evan@neomantra.net>

---------

Signed-off-by: Evan Wies <evan@neomantra.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants