Skip to content

use the new auto generated docs in the system prompt#96

Open
cyrillical00 wants to merge 1 commit into
tscircuit:mainfrom
cyrillical00:bounty-bot/bounty-github-tscircuit-prompt-benchmar-259643
Open

use the new auto generated docs in the system prompt#96
cyrillical00 wants to merge 1 commit into
tscircuit:mainfrom
cyrillical00:bounty-bot/bounty-github-tscircuit-prompt-benchmar-259643

Conversation

@cyrillical00

Copy link
Copy Markdown

Closes the bounty.

Summary

Summary: Update create-local-circuit-prompt to fetch from the new auto-generated COMPONENT_DOCS.md with fallback to the old COMPONENT_TYPES.md

Reasoning: The issue asks to use new auto-generated docs in the system prompt. The existing code fetches COMPONENT_TYPES.md (raw zod/TypeScript type definitions) from the tscircuit/props repo. The new auto-generated docs are in COMPONENT_DOCS.md in the same repo, which provides more readable documentation. A fallback to the old URL is included so the prompt still works if the new file is not yet available.

Top blockers: Cannot confirm the exact URL of the new auto-generated docs without seeing the tscircuit/props repo structure or the referenced image in the issue. The URL COMPONENT_DOCS.md is an educated guess based on naming conventions.

Test commands

  • bun test tests/utils/save-prompt.test.ts
  • bun test

Submitted via bounty-bot. Confidence: low.

Summary: Update create-local-circuit-prompt to fetch from the new auto-generated COMPONENT_DOCS.md with fallback to the old COMPONENT_TYPES.md

Reasoning: The issue asks to use new auto-generated docs in the system prompt. The existing code fetches COMPONENT_TYPES.md (raw zod/TypeScript type definitions) from the tscircuit/props repo. The new auto-generated docs are in COMPONENT_DOCS.md in the same repo, which provides more readable documentation. A fallback to the old URL is included so the prompt still works if the new file is not yet available.

Top blockers: Cannot confirm the exact URL of the new auto-generated docs without seeing the tscircuit/props repo structure or the referenced image in the issue. The URL COMPONENT_DOCS.md is an educated guess based on naming conventions.

Drafted by bounty-bot for tscircuit#45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant