From 60674fa81d794ff2da8ad907461235ddbda2463e Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Tue, 15 Oct 2024 19:22:46 -0400 Subject: [PATCH] add syntax highlighting --- docs/concepts/tasks.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/tasks.mdx b/docs/concepts/tasks.mdx index 79164ec1..36fab98f 100644 --- a/docs/concepts/tasks.mdx +++ b/docs/concepts/tasks.mdx @@ -289,7 +289,7 @@ If you exclude `completion_tools`, agents may be unable to complete the task or Here are some examples: -``` +```python # Generate both success and failure tools (default behavior, equivalent to `completion_tools=None`) task = cf.Task( objective="Write a poem about AI",