Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用 LiteLLM 和 Agno 进行 OpenAI 兼容代理服务器集成。
pip install 'litellm[proxy]'
litellm --model gpt-4o --host 10.10.10.10 --port 4000
LiteLLMOpenAI
from agno.agent import Agent from agno.models.litellm import LiteLLMOpenAI agent = Agent( model=LiteLLMOpenAI( id="gpt-4o", # 要使用的模型 ID ), markdown=True, ) agent.print_response("写一个两句话的恐怖故事")
id
name
provider
api_key
base_url