9dd0233
chore(deps): update mvdan/sh with kill issue fix
Click to expand commit body
This includes a fix for a kill issue with grand child processes.
That affects, for example, Go programs ran via `go run ...`.
* https://github.com/mvdan/sh/issues/1171
* https://github.com/mvdan/sh/pull/1172
Andrey Nering
created
1da73ea
Merge remote-tracking branch 'origin/list' into tool_improvements
Kujtim Hoxha
created
8e4a2ce
Merge remote-tracking branch 'origin/main' into list
Kujtim Hoxha
created
e6ee60b
Merge pull request #303 from charmbracelet/csyncmap
Click to expand commit body
refactor: use csync.Map instead of sync.Map, csync.Slice where it made sense
- Remove Slice() method from csync.Slice and use slices.Collect(s.Seq())
instead
- Optimize Seq2() method to avoid calling removed Slice() method
- Update Seq() to use Seq2() for better performance
- Update all references throughout the codebase to use the new pattern
π Generated with Crush
Co-Authored-By: Crush <crush@charm.land>
* feat: support anthropic provider type in custom provider configs
* docs: fix provider configuration field name and add anthropic example
- Change `provider_type` to `type` in documentation to match actual struct field
- Add comprehensive examples for both OpenAI and Anthropic custom providers
- Include missing `api_key` field in examples for completeness
* feat: resolve headers to allow for custom scripts and such in headers
* feat: allow headers in the anthropic client
* feat: if api_key has "Bearer " in front then using it as an
Authorization header and skip the X-API-Key header in the anthropic
client
* feat: add support for templating in the config resolve.go
something like `Bearer $(echo $ENVVAR)-$(bash ~/.config/crush/script.sh)` would work now; also added some tests since the first iteration of this broke stuff majorly lol
* feat: add a system prompt prefix option to the config
---------
Co-authored-by: Kieran Klukas <me@dunkirk.sh>
Co-authored-by: Kieran Klukas <l41cge3m@duck.com>
Kujtim Hoxha
,
Kieran Klukas
, and
Kieran Klukas
created
d6d5cbc
fix: fix panic on onboarding when no model is selected on the list
Click to expand commit body
* `rm -r ~/.local/share/crush`
* run `crush`
* type something on the filter so no model is shown on the list
* press enter
* a panic happens
Fixes #285