Skip to content

Include generated docs in local circuit prompt#76

Open
Finesssee wants to merge 2 commits into
tscircuit:mainfrom
Finesssee:include-generated-docs-in-local-prompt
Open

Include generated docs in local circuit prompt#76
Finesssee wants to merge 2 commits into
tscircuit:mainfrom
Finesssee:include-generated-docs-in-local-prompt

Conversation

@Finesssee
Copy link
Copy Markdown

@Finesssee Finesssee commented May 20, 2026

Summary

  • include the generated https://docs.tscircuit.com/ai.txt docs in createLocalCircuitPrompt when available
  • keep generated-doc fetching optional so prompt creation still works if the docs endpoint is unavailable
  • add focused tests for inclusion and fallback behavior
  • skip live OpenAI-backed tests when OPENAI_API_KEY is unavailable so default CI is deterministic

Tests

  • bun test --timeout 50000

/claim #45

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.

1 participant