@witness.v使用LiteLLM将KIMI Allegretto套餐的KIMI Code API Key转成通用API Key 中发帖

Docker运行LiteLLM 
docker run -d --name litellm \
  --restart unless-stopped \
  -p 4000:4000 \
  -v /opt/litellm/config.yaml:/app/config.yaml:ro \
  --memory 1g \
  --memory-swap 1280m \
  --log-driver json-file \
  --log-opt max-size=20m \
  --log-opt max-file=3 \
  ghcr.io/berriai/litellm:main-latest \
  --config /app/config.yaml

config.yaml 
model_list:
  - model_name: kimi-k3
    litellm_param...
 
 
Back to Top