if (TextUtils.isEmpty(channel) || channel.equals(MyConfig.CHANNLE_CHAT)) {
url = MyConfig.URL_AI_CHAT + "?is_auth=1" + "&dt=" + MyConfig.TOKEN;
} else {
- url = MyConfig.URL_AI_CHAT + "?platform=" + channel + "&is_auth=1" + "&dt=" + MyConfig.TOKEN;
+ if(channel.equals("deepseek")){
+ url = MyConfig.URL_AI_CHAT + "?platform=huoshan&model=ep-20250206162546-g74w6&is_auth=1" + "&dt=" + MyConfig.TOKEN;
+ }else {
+ url = MyConfig.URL_AI_CHAT + "?platform=" + channel + "&is_auth=1" + "&dt=" + MyConfig.TOKEN;
+ }
+
}
handler.removeMessages(MSG_RECONNECT);
SobLog.d(TAG, "url--" + url);
if (onChatMsgListener != null) {
chatType = msgObj.getString("type");
onChatMsgListener.onChange(chatType, msgObj.getString("content"));
+ if(msgObj.has("reasoning_content")){
+ String reasoning_content = msgObj.getString("reasoning_content");
+ if(!TextUtils.isEmpty(reasoning_content)){
+ onChatMsgListener.onDeepSeekReasoning_content(reasoning_content);
+ }
+ }
+
if (chatType.equals("start") || chatType.equals("middle")) {
handler.removeMessages(MSG_CHAT_TIMEOUT);
handler.sendEmptyMessageDelayed(MSG_CHAT_TIMEOUT,3000);