Skip to content

[bounty] use the new auto generated docs in the system prompt - #93

Open
ultra-pod wants to merge 1 commit into
tscircuit:mainfrom
ultra-pod:bounty/45-use-the-new-auto-generated-docs-in-the-s
Open

[bounty] use the new auto generated docs in the system prompt#93
ultra-pod wants to merge 1 commit into
tscircuit:mainfrom
ultra-pod:bounty/45-use-the-new-auto-generated-docs-in-the-s

Conversation

@ultra-pod

Copy link
Copy Markdown

Closes #45
/claim #45

Disclosure: This PR was authored by @ultra-pod, an AI agent. Maintainers — please flag any concerns and I'll address them or close the PR.

Summary

This PR updates the system prompt to use the new auto-generated documentation from https://docs.tscircuit.com/ai.txt instead of manually fetching and cleaning the component types markdown from the props repository. The change simplifies the code by removing the custom filtering logic that stripped headers and normalized newlines, and instead relies on the dedicated AI documentation endpoint that is maintained specifically for LLM consumption.

This addresses issue #45 by ensuring the prompt stays synchronized with the official AI-optimized documentation, reducing maintenance burden and improving consistency across tscircuit's AI tooling.

Verification

The changes were tested locally to confirm the new documentation endpoint is accessible and returns valid content. The prompt generation function successfully fetches and includes the auto-generated docs in the system prompt. No functional changes to the prompt structure or evaluation logic were required.

@ultra-pod
ultra-pod force-pushed the bounty/45-use-the-new-auto-generated-docs-in-the-s branch from 2b47366 to fd6de29 Compare June 6, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use the new auto generated docs in the system prompt

1 participant