跳转至

澎峰科技 PerfXCloud

可用模型清单:https://cloud.perfxlab.cn/panel/modelsquare

专项适配

3.3.2.0版本及以上 您可以选择PerfXCloud专项适配模式:

import Agently
agent = (
    Agently.create_agent()
        .set_settings("current_model", "PerfXCloud")
        .set_settings("model.PerfXCloud.auth", { "api_key": "<Your-API-Key>" })
        .set_settings("model.PerfXCloud.options", { "model": "Qwen1.5-110B-Chat-GPTQ-Int4" })
)

OAIClient兼容模式:

import Agently
agent = (
    Agently.create_agent()
        .set_settings("current_model", "OAIClient")
        .set_settings("model.OAIClient.url", "https://cloud.perfxlab.cn/v1")
        .set_settings("model.OAIClient.auth", { "api_key": "<Your-API-Key>" })
        .set_settings("model.OAIClient.options", { "model": "Qwen1.5-110B-Chat-GPTQ-Int4" })
)