This prototype VS Code extension demonstrates connecting to a locally running Ollama server and handling model "tool_calls" to perform workspace actions.
Features in this prototype:
Connects to local Ollama HTTP API at http://localhost:11434
Sends chat requests and reads tool_calls from the model response
Implements handlers for tools: read_file, write_file, delete_file, run_shell
For actions that modify the workspace or run shell commands, the extension requires a manual approval step via a file-creation command in the workspace terminal. Example: