Skip to content

Commit 4015802

Browse files
committed
fix: add disclaimer in prompts for agents template
1 parent 53230e7 commit 4015802

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

definitions/vite-cfagents-runner/prompts/selection.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ This template provides a production-ready AI agent chatbot built with Cloudflare
1717
* Projects requiring complex multi-user chat rooms or real-time streaming
1818
* Simple question-answer bots without tool requirements
1919

20+
**IMPORTANT NOTE: Only use this template if you NEED AI/LLM capabilities as core of your application**
21+
2022
* Built with:
2123
* **Cloudflare Agents SDK** for stateful agent management with Durable Objects
2224
* **Official MCP TypeScript SDK** for proper protocol implementation

definitions/vite-cfagents-runner/prompts/usage.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,6 @@ tooltip.tsx
173173
**Only The following bindings are to be used in the project! Do not use any other bindings or remove/replace any of the bindings**
174174
- `CHAT_AGENT`: A durable object binding for the chat agent
175175
- `APP_CONTROLLER`: A durable object binding for the app controller
176+
177+
# IMPORTANT NOTE: If AI capabilities are required, you must inform the user that although this project has AI capaibilities, there is no way to pass API keys and thus AI inferencing won't work. Users must export the app to their github, then make necessary changes and deploy it themselves to have it work. This is due to security reasons but we are implementing it in a secure way, and this would be available soon.
178+
Add the above note in an appropriate and visible location in the app - like in the footer or in the chat interface or as a modal

0 commit comments

Comments
 (0)