|
@@ -28,7 +28,7 @@ class KimiServer(object):
|
|
contents = params['article_text']
|
|
contents = params['article_text']
|
|
trace_id = params['content_id']
|
|
trace_id = params['content_id']
|
|
try:
|
|
try:
|
|
- kimi_title = await cls.kimi_title(title, ai_model=deep_seek)
|
|
|
|
|
|
+ kimi_title = await cls.kimi_title(title, ai_model=moon_shot)
|
|
# 判断kimi 标题是否安全
|
|
# 判断kimi 标题是否安全
|
|
title_score = await cls.get_kimi_title_safe_score(kimi_title, ai_model=moon_shot)
|
|
title_score = await cls.get_kimi_title_safe_score(kimi_title, ai_model=moon_shot)
|
|
kimi_green_title = None
|
|
kimi_green_title = None
|
|
@@ -64,7 +64,7 @@ class KimiServer(object):
|
|
|
|
|
|
kimi_title = kimi_title.replace("'", "").replace('"', "").replace("\\", "")
|
|
kimi_title = kimi_title.replace("'", "").replace('"', "").replace("\\", "")
|
|
try:
|
|
try:
|
|
- kimi_info = await cls.kimi_mining(contents, ai_model=deep_seek)
|
|
|
|
|
|
+ kimi_info = await cls.kimi_mining(contents, ai_model=moon_shot)
|
|
except Exception as e:
|
|
except Exception as e:
|
|
logging(
|
|
logging(
|
|
code="4002",
|
|
code="4002",
|