transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
https://agentic.so
MIT License
16.22k stars 2.12k forks source link

"You did not write down any '// @ai' comment lines #575

Closed dupiesdupreez closed 3 months ago

dupiesdupreez commented 1 year ago

Verify latest release

Verify webapp is working

Environment details

Visual studio code Angular Javascript

Describe the Bug

Making the comment and running generate give the following error

You did not write down any '// @ai' comment lines

  doSubscriptionCalls(userDataSubscription : IUserDataSubscription){

   // @ai generate a switch statement here with userDataSubscription as the switch value

  }

image

transitive-bullshit commented 3 months ago

This project is undergoing a major revamp; closing out old issues as part of the prep process.

The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.