From 1fc9370140b371f637442b05df27b253e54a9756 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sat, 5 Oct 2024 10:29:47 -0400 Subject: [PATCH] Add version badge --- docs/concepts/agents.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/concepts/agents.mdx b/docs/concepts/agents.mdx index 86e07a97..0790abf3 100644 --- a/docs/concepts/agents.mdx +++ b/docs/concepts/agents.mdx @@ -4,6 +4,8 @@ description: The intelligent workers in your AI workflows. icon: robot --- +import { VersionBadge } from '/snippets/version-badge.mdx' + Agents are the intelligent, autonomous entities that power your AI workflows in ControlFlow. They represent AI models capable of understanding instructions, making decisions, and completing tasks. ```python @@ -78,6 +80,7 @@ agent2 = cf.Agent(model="anthropic/claude-3-5-sonnet-20240620") ``` ### LLM rules + Each LLM provider may have different requirements for how messages are formatted or presented. For example, OpenAI permits system messages to be interspersed between user messages, but Anthropic requires them to be at the beginning of the conversation. ControlFlow uses provider-specific rules to properly compile messages for each agent's API.