昨天 8f3bf7050e65fdbe55eaad74fde307c57dab960e
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/hunyuan/HunYuanChatModel.java
@@ -9,10 +9,9 @@
import reactor.core.publisher.Flux;
/**
 * 腾云混元 {@link ChatModel} 实现类
 * 腾讯混元 {@link ChatModel} 实现类
 *
 * 1. 混元大模型:基于 <a href="https://cloud.tencent.com/document/product/1729/111007">知识引擎原子能力</a> 实现
 * 2. 知识引擎原子能力:基于 <a href="https://cloud.tencent.com/document/product/1772/115969">知识引擎原子能力</a> 实现
 * 基于 <a href="https://cloud.tencent.com/document/product/1823/132252">TokenHub OpenAI 兼容接口</a> 实现
 *
 * @author fansili
 */
@@ -20,14 +19,10 @@
@RequiredArgsConstructor
public class HunYuanChatModel implements ChatModel {
    public static final String BASE_URL = "https://api.hunyuan.cloud.tencent.com";
    public static final String BASE_URL = "https://tokenhub.tencentmaas.com";
    public static final String COMPLETE_PATH = "/v1/chat/completions";
    public static final String MODEL_DEFAULT = "hunyuan-turbo";
    public static final String DEEP_SEEK_BASE_URL = "https://api.lkeap.cloud.tencent.com";
    public static final String DEEP_SEEK_MODEL_DEFAULT = "deepseek-v3";
    public static final String MODEL_DEFAULT = "hy3-preview";
    /**
     * 兼容 OpenAI 接口,进行复用
@@ -45,8 +40,15 @@
    }
    @Override
    public ChatOptions getOptions() {
        return openAiChatModel.getOptions();
    }
    @Override
    @Deprecated(forRemoval = true)
    @SuppressWarnings("removal")
    public ChatOptions getDefaultOptions() {
        return openAiChatModel.getDefaultOptions();
        return getOptions();
    }
}