| commit | 021557a7d33dacd4fedb9a4677fc93c48569d57a | [log] [tgz] |
|---|---|---|
| author | Sean McCullough <banksean@gmail.com> | Mon May 05 23:20:53 2025 +0000 |
| committer | Sean McCullough <banksean@gmail.com> | Mon May 05 16:58:53 2025 -0700 |
| tree | 13a020ae99f9f86de4b2b10d919427c9287f3de8 | |
| parent | 5a7b3698b523365fe070ffcd1019c704c2c3a7b5 [diff] |
Allow multiplechoice tool to end the model turn Add EndsTurn field to llm.Tool to indicate if a tool should force the end of a turn. Set the multiplechoice tool to end the turn by setting EndsTurn=true. Update OnResponse to check for tools that should end the turn. Transcript of the chat for this change: https://sketch.dev/messages/1f4n-17a3-hmfx-71gg Note that I did ask it to investigate an alternative approach, but decided this one (explicit EndsTurn field on Tool) was a better trade-off than the alternative (altering the Tool.Run signature). 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 for containers.
macOS: brew install colima (or an equivalent, like Docker Desktop or Orbstack) linux: apt install docker.io (or equivalent for your distro) WSL2: install Docker Desktop for Windows (docker entirely inside WSL2 is tricky)
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/R82YagTASx
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!)