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
Python agentagentopsagents-sdkaianthropicautogencost-estimationcrewaievalsevaluation-metricsgroqlangchainllmmistralollamaopenaiopenai-agents
Refactor how we push to main from Action (#411)
Howard Gilbf0effbb5ef9
diff --git a/.github/workflows/add-notebook-examples-to-docs.yml b/.github/workflows/add-notebook-examples-to-docs.ymlindex aa7904db..b59039d3 100644--- a/.github/workflows/add-notebook-examples-to-docs.yml+++ b/.github/workflows/add-notebook-examples-to-docs.yml@@ -11,6 +11,9 @@ on:workflow_dispatch:+permissions:+ contents: write+jobs:add-notebook-examples-to-docs:runs-on: ubuntu-latest@@ -52,15 +55,14 @@ jobs:fidone- - name: Commit changes+ - name: Add, commit, and push changesrun: |- git config --local user.email "[email protected]"- git config --local user.name "GitHub Action"+ git config --global user.name 'Howard Gil'+ git config --global user.email '[email protected]'git add docs/v1/examples/*.mdx- git diff --quiet && git diff --staged --quiet || git commit -m "GitHub Action: Update examples in docs from notebooks"-- - name: Push changes- uses: ad-m/github-push-action@master- with:- github_token: ${{ secrets.GITHUB_TOKEN }}- branch: main\ No newline at end of file+ if git diff --staged --quiet; then+ echo "No changes to commit"+ else+ git commit -m "GitHub Action: Update examples in docs from notebooks"+ git push+ fi\ No newline at end of file