Skip to content

Include generated docs in local circuit prompt#65

Open
joel777rubio-web wants to merge 1 commit into
tscircuit:mainfrom
joel777rubio-web:include-generated-docs
Open

Include generated docs in local circuit prompt#65
joel777rubio-web wants to merge 1 commit into
tscircuit:mainfrom
joel777rubio-web:include-generated-docs

Conversation

@joel777rubio-web
Copy link
Copy Markdown

Fixes #45

Includes the generated docs feed from https://docs.tscircuit.com/ai.txt in createLocalCircuitPrompt, alongside the existing generated props docs. I also extracted the markdown cleanup so both generated sources are normalized consistently.

Validation:

  • npx bun test tests/prompt-templates/create-local-circuit-prompt.test.ts
  • npx --yes --package typescript tsc --noEmit

Note: full npx bun test still hits existing unrelated AI-dependent tests that require an OpenAI API key / mocked coder output.

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.

use the new auto generated docs in the system prompt

1 participant