返回提交历史
Modified
docs/pydantic_ai.md
+1
-1
XFEstudio/gpt4free
Fix import for Agent
1d7155d2
代码差异
1 个文件
+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(