Repository navigation
feat: teach vibe let-go namespaces, tools, and the Responses API - #18
Merged
Merged
Conversation
The shipped prompt kept emitting clojure.string/; this catalogs the live VM, lets the model inspect ns-publics, rewrites JVM prefixes, and splices missing :requires. OpenAI now goes through /v1/responses so tools can sit next to configurable :reasoning-effort. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
string//json//os/names, noclojure.string, required defn docstrings) and give the modellist-namespaces/ns-publics/var-doctools against the running VM.(:require ...)entries into an existing ns form (one undo step; files with no ns form are left alone)./v1/responsesso function tools can sit next to configurable:reasoning-effort(default:medium). Achat/completionsURL still infers the older shape; echo no longer truncates API errors.Test plan
lg -e "(require '[test :refer [run-tests]] '[test.vibe-test]) (run-tests)"— 27 tests, 126 assertionsC-c C-von a(vibe "...")in a file with annsform: generateddefns have docstrings, usesstring/notclojure.string/, missing requires land in the ns form, one undo restores both:reasoning-effort :mediumno longer 400s:urlat a llama.cpp.../v1/chat/completions(or:tools false) and confirm it still completeserror.message, not a 200-char truncationMade with Cursor