Skip to main content
本示例展示了如何获取 agent 运行的指标。

代码

cookbook/agent_concepts/other/agent_metrics.py

用法

1

创建虚拟环境

打开 Terminal 并创建一个 python 虚拟环境。
2

设置您的 API 密钥

3

安装库

4

运行 Agent