fix(货源): LLM 密钥去掉平台公费兜底,任务没带自己的密钥就不检而不代付
`llm-api-key` 这条回落链(配置 → 公费 key)此前是账目对不上的一个来源:用户没配密钥时 货源任务照样跑完 LLM,花费记在平台头上。现在只认任务自带的 api_key,为空即跳过检测、 保留原始行。两台线上都未设置 AIIMAGE_SIMILAR_ASIN_LLM_API_KEY,本批发布对现网行为零变化。
This commit is contained in:
@@ -158,9 +158,6 @@ public class SimilarAsinProperties {
|
||||
/** 直连 LLM 的 base url(OpenAI 兼容 /v1/chat/completions)。 */
|
||||
private String llmHost = "https://ai.t8star.org";
|
||||
|
||||
/** 直连 LLM 的 Bearer token;前端未传 api_key 时兜底使用。 */
|
||||
private String llmApiKey = "";
|
||||
|
||||
/** 类目匹配(一级/二级)使用的小模型。 */
|
||||
private String llmCategoryModel = "gemini-3.1-flash-lite-preview-thinking-medium";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user