github VoltAgent/voltagent @voltagent/vercel-ai@0.1.7

Patch Changes

  • #102 cdfec65 Thanks @omeraplak! - refactor: use 'instructions' field for Agent definitions in examples - #88

    Updated documentation examples (READMEs, docs, blogs) and relevant package code examples to use the instructions field instead of description when defining Agent instances.

    This change aligns the examples with the preferred API usage for the Agent class, where instructions provides behavioral guidance to the agent/LLM. This prepares for the eventual deprecation of the description field specifically for Agent class definitions.

    Example Change for Agent Definition:

      const agent = new Agent({
        name: "My Assistant",
    -   description: "A helpful assistant.",
    +   instructions: "A helpful assistant.",
        llm: new VercelAIProvider(),
        model: openai("gpt-4o-mini"),
      });
  • Updated dependencies [cdfec65]:

    • @voltagent/core@0.1.14

Don't miss a new voltagent release

NewReleases is sending notifications on new releases.