valuecell icon indicating copy to clipboard operation
valuecell copied to clipboard

(Error) Error processing request: 'str' object has no attribute 'decision'

Open tom6q6 opened this issue 1 year ago • 4 comments

模型全部配置 PLANNER_MODEL_ID=deepseek/deepseek-chat-v3-0324 SEC_PARSER_MODEL_ID=deepseek/deepseek-chat-v3-0324 SEC_ANALYSIS_MODEL_ID=deepseek/deepseek-chat-v3-0324 AI_HEDGE_FUND_PARSER_MODEL_ID=deepseek/deepseek-chat-v3-0324 RESEARCH_AGENT_MODEL_ID=gdeepseek/deepseek-chat-v3-0324 PRODUCT_MODEL_ID=deepseek/deepseek-chat-v3-0324

(Error) Error processing request: 'str' object has no attribute 'decision'

data: {"event": "conversation_started", "data": {"conversation_id": "conv-a5edc487933b4b61bd9b914cf180a0cc", "role": "system", "item_id": "item-d38cdbee69244894a224bccc3c28580d"}}

data: {"event": "thread_started", "data": {"conversation_id": "conv-a5edc487933b4b61bd9b914cf180a0cc", "thread_id": "th-87d6d854635d47c1a728472f344f5497", "task_id": "ask-4e742ff4a92e42b09de8eed165cb496f", "payload": {"content": "\u660e\u5929NASDAQ\u6da8\u591a\u5c11\uff1f"}, "role": "user", "item_id": "item-c18d8295d21d4b928076b2431dcc147c"}}

data: {"event": "system_failed", "data": {"conversation_id": "conv-a5edc487933b4b61bd9b914cf180a0cc", "payload": {"content": "(Error) Error processing request: 'str' object has no attribute 'decision'"}, "role": "system", "item_id": "item-548c8dabdb3741959e3d520304e3062f"}}

data: {"event": "done", "data": {"conversation_id": "conv-a5edc487933b4b61bd9b914cf180a0cc", "role": "system", "item_id": "item-d44cb62c2aff4ec9b1926068b021df94"}}

chat.tsx:118 ❌ SSE connection error: AbortError: BodyStreamBuffer was aborted at SSEClient.close (sse-client.ts:240:28) at use-sse.ts:69:24 at Object.onData (chat.tsx:100:9) at SSEClient.processEvent (sse-client.ts:218:23) at SSEClient.readStream (sse-client.ts:180:18) at async SSEClient.startConnection (sse-client.ts:129:7)

tom6q6 avatar Oct 29 '25 12:10 tom6q6

解决了吗

dnsn7 avatar Oct 29 '25 16:10 dnsn7

没有,换模型就报错。用它默认模型,根本访问不了!

李强 @.***

---Original--- From: @.> Date: Thu, Oct 30, 2025 00:55 AM To: @.>; Cc: @.@.>; Subject: Re: [ValueCell-ai/valuecell] (Error) Error processing request: 'str'object has no attribute 'decision' (Issue #251)

dnsn7 left a comment (ValueCell-ai/valuecell#251)

解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tom6q6 avatar Oct 29 '25 19:10 tom6q6

Hello, thank you for reaching out and providing the details of your issue. After testing with the model ID configuration from OpenRouter, we could not replicate the error in our current latest codebase. A technical analysis suggests that the error ⁠'str' object has no attribute 'decision' occurs because the model in question is not generating a response in the expected structured JSON format, but we need more information to investigate.

vcfgv avatar Oct 30 '25 02:10 vcfgv

这个好像是只要模型带有thinking的返回就会报错,目前我是换模型解决的

Longing3086 avatar Oct 31 '25 02:10 Longing3086