Skip to content

Commit 018b70a

Browse files
committed
add todo
1 parent a63f88a commit 018b70a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vercel-ai/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class VercelAIApi {
2525
*
2626
* @param {EventData<EventAddons>} payload - event data
2727
* @returns {Promise<string>} AI suggestion for the event
28+
* @todo add defence against invalid prompt injection
2829
*/
2930
public async generateSuggestion(payload: EventData<EventAddons>) {
3031
const { text } = await generateText({

0 commit comments

Comments
 (0)