XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Fix import for Agent

1d7155d2
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified docs/pydantic_ai.md +1 -1
@@ -48,7 +48,7 @@ This will log detailed information about the internal processes and interactions
48 48 Now you are ready to create a simple agent that can interact with the LLM. The agent is initialized with a model, and you can also define a system prompt. Here's an example where a basic agent is created with the model `g4f:Gemini:Gemini` and a simple system prompt:
49 49
50 50 ```python
51 from g4f import Agent
51 from pydantic_ai import Agent
52 52
53 53 # Define the agent
54 54 agent = Agent(