Getting socket hang up issue
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
调研方向
从 app.py 和 run.py 开始,然后通过 Postman 复现向 /generate_project 发起的多阶段 POST 请求。跟踪 run_chat_chain 调用,并记录 socket hang up 发生的位置;当能够在原因明确的情况下复现该故障,并验证端点行为时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
When I try with multiple phases, I am getting socket hang up error on Postman. Actually I have created app,py file on top of run.py and using Flask like
On each phase I am giving responsibility to create multiple files based on my requirement.
app = Flask(__name__)
@app.route('/generate_project', methods=['POST'])
def run_endpoint():
try:
# Only pass the required parameters and use defaults for the rest
result = run_chat_chain(app_name=app_name, other_detail: details
)
return jsonify(result), 200
# return result, 200
except Exception as e:
return jsonify({"status": "error", "message": str(e)}), 500
- 主要语言
- Python
- 星标
- 34.5k
- 派生
- 4.3k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenBMB/ChatDev 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 76/100
-
CodeReviewModification never shows the programmer the six review regulations, so fixes are made blind to the checklist they are re-reviewed against可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
FunctionManager silently drops tool modules containing dataclasses with postponed annotations可能已有人在做 @inchang-ing 于 13 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 72/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
esphome/esphome.io#7657 ·
维护者通常 1 天内回复
-
comp/gateway comp/plugins duplicate P3 type/bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#137019 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
NVIDIA/structured-data-models#1091 ·
维护者通常 1 天内回复
-
[work-item] adam-adae-worsening-emergence: conform spec.yaml to the specification style contract (REQ-1280)可能已有人在做 @muse-yamaa-bot 今天认领。 未关闭work-item
难度 1/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复