SmolAgents 技术栈: LangFuse & LiteLLM










conda create -n litellm python==3.12.9 -y
conda activate litellm
pip install "litellm[proxy]" langfuse openai
git clone https://github.com/langfuse/langfuse.git
cd langfuse
docker compose up
注册用户
浏览器访问 http://localhost:3000/,单击 Sign up 注册一个新账户。



# 模型列表
model_list:
## 语言模型
- model_name: gpt-4
litellm_params:
model: openai/qwen2.5:7b
api_base: http://localhost:11434/v1
api_key: NONE
## 视觉模型
- model_name: gpt-4o
litellm_params:
model: openai/llama3.2-vision
api_base: http://localhost:11434/v1
api_key: NONE
## 代码模型
// ...