Skip to content

Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render. 报错 这个 切换模型的时候 #3530

@pycainiao

Description

@pycainiao

What happened?

Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.

What did you expect to happen?

/model 的时候

Client information

Qwen Code: 0.15.0 (f2fac20)
运行环境: Node.js v22.16.0 / npm 10.9.2
操作系统: win32 x64 (10.0.22621)
认证: 阿里云百炼 Coding Plan
基础 URL: https://coding.dashscope.aliyuncs.com/v1
模型: kimi-k2.5
快速模型: kimi-k2.5
会话 ID: c51dcd4c-6c0e-4caf-8411-82fc5c3d59b7
沙箱: no sandbox
代理: no proxy
内存使用: 215.6 MB

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions