Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

Removing extra newline which was causing loop (#416)

Howard Gil33c4c721da9c
diff --git a/.github/workflows/add-notebook-examples-to-docs.yml b/.github/workflows/add-notebook-examples-to-docs.yml
index b75318fa..176f2d6c 100644
--- a/.github/workflows/add-notebook-examples-to-docs.yml
+++ b/.github/workflows/add-notebook-examples-to-docs.yml
@@ -48,7 +48,7 @@ jobs:
echo "Removing existing content after {/* SOURCE_FILE: ... */}"
sed -i '\#{/\* SOURCE_FILE:#,$d' "$file"
echo "Appending markdown to $file"
- echo -e "\n{/* SOURCE_FILE: $source_file */}\n" >> "$file"
+ echo -e "{/* SOURCE_FILE: $source_file */}\n" >> "$file"
cat "$markdown_file" >> "$file" || { echo "Error: Failed to append markdown to $file" >&2; continue; }
rm "$markdown_file" || { echo "Error: Failed to remove $markdown_file" >&2; continue; }
else