Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /observability /agent_ops.py
| """ | |
| AgentOps Integration | |
| ==================== | |
| Demonstrates logging Agno model calls with AgentOps. | |
| """ | |
| import agentops | |
| from agno.agent import Agent | |
| from agno.models.openai import OpenAIChat | |
| # --------------------------------------------------------------------------- | |
| # Setup | |
| # --------------------------------------------------------------------------- | |
| # Initialize AgentOps | |
| agentops.init() | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| agent = Agent(model=OpenAIChat(id="gpt-5.6-luna")) | |
| # --------------------------------------------------------------------------- | |
| # Run Example | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| response = agent.run("Share a 2 sentence horror story") | |
| print(response.content) | |
Xet Storage Details
- Size:
- 906 Bytes
- Xet hash:
- 81b34ab34a734eda375e0fa2cc8b5951a82f8c4635f2dd7e5fcbae475042139b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.