-
Notifications
You must be signed in to change notification settings - Fork 484
[Bug]:打开长期记忆后,输出完成会有延时 #1094
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
关闭长期记忆后正常
打开 io.agentscope 日志为debug,输出如下:
2026-04-01 11:37:24.381 [boundedElastic-1] DEBUG i.agentscope.core.model.OpenAIClient - SSE data: {"choices":[{"delta":{"content":"。"},"finish_reason":null,"index":0,"logprobs":null}],"object":"chat.completion.chunk","usage":null,"created":1775014643,"system_fingerprint":null,"model":"kimi-k2.5","id":"chatcmpl-19037d30-3611-96c9-8fd6-e57e740459b5"}
2026-04-01 11:37:24.402 [ForkJoinPool.commonPool-worker-1] DEBUG i.a.c.m.transport.JdkHttpTransport - Received SSE data chunk
2026-04-01 11:37:24.403 [boundedElastic-1] DEBUG i.agentscope.core.model.OpenAIClient - SSE data: {"choices":[{"finish_reason":"stop","delta":{"content":""},"index":0,"logprobs":null}],"object":"chat.completion.chunk","usage":null,"created":1775014643,"system_fingerprint":null,"model":"kimi-k2.5","id":"chatcmpl-19037d30-3611-96c9-8fd6-e57e740459b5"}
2026-04-01 11:37:24.403 [ForkJoinPool.commonPool-worker-1] DEBUG i.a.c.m.transport.JdkHttpTransport - Received SSE data chunk
2026-04-01 11:37:24.404 [boundedElastic-1] DEBUG i.agentscope.core.model.OpenAIClient - SSE data: {"choices":[],"object":"chat.completion.chunk","usage":{"prompt_tokens":4314,"completion_tokens":94,"total_tokens":4408,"completion_tokens_details":{"text_tokens":94},"prompt_tokens_details":{"text_tokens":4314,"cached_tokens":0}},"created":1775014643,"system_fingerprint":null,"model":"kimi-k2.5","id":"chatcmpl-19037d30-3611-96c9-8fd6-e57e740459b5"}
2026-04-01 11:38:24.418 [boundedElastic-3] WARN i.a.c.m.StaticLongTermMemoryHook - Failed to record to long-term memory: Read timed out
从现象看,长期记忆是走的同步处理逻辑吧,还是我有什么没配置对的, 参考的是文档中的配置,长期记忆中的处理也正常,一直在词嵌入和llm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog