| commit | 9f4b8089f93f39300b819ccf83cf64a7a867c0dc | [log] [tgz] |
|---|---|---|
| author | Sean McCullough <banksean@gmail.com> | Wed Apr 30 17:34:07 2025 +0000 |
| committer | Sean McCullough <banksean@gmail.com> | Wed Apr 30 11:28:34 2025 -0700 |
| tree | c1f00c2b00892efd2656196ebbc37c433d138658 | |
| parent | bc6b629676e97d1789cff9a1d945b5faf680372e [diff] |
agent.go: don't panic on nil initialResp a.processUserMessage(ctx) appears to return nil, nil under certain circumstances, and this causes a panic in processTurn(). This change makes it log the error instead of panicing. Co-Authored-By: sketch <hello@sketch.dev>
Sketch is an agentic coding tool focused on the Go programming language. Sketch runs in your terminal, has a web UI, understands your code, and helps you get work done. To keep your environment pristine, sketch starts a docker container and outputs its work onto a branch in your host git repository.
To get started:
go install sketch.dev/cmd/sketch@latest sketch
Currently sketch runs on macOS and linux. It uses docker/colima for containers.
macOS: brew install colima linux: apt install docker.io (or equivalent for your distro)
The sketch.dev service is used to provide access to an LLM service and give you a way to access the web UI from anywhere.
We have a discord server to discuss sketch.
Join if you want! https://discord.gg/YNUSuVm4
See CONTRIBUTING.md
Sketch is open source. It is right here in this repository! Have a look around and mod away.
If you want to run sketch entirely without the sketch.dev service, you can set the flag -skaband-addr="" and then provide an ANTHROPIC_API_KEY environment variable. (More LLM services coming soon!)