aws-samples / aws-samples/sample-devgenius-aws-solution-builder

Application giving error after installing via CDK

未关闭
#8 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
249
派生
67
PR 合并指标
30 天内没有已合并 PR

描述

I have installed this application using CDK, no errors during installation but after installation is final, i got error while running the app.

ValueError: Unexpected Error:: 'orchestrationTrace'
Traceback:
File "/usr/local/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/usr/local/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/app/agent.py", line 229, in
ask_user, agent_answer = read_agent_response(event_stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/utils.py", line 148, in read_agent_response
raise ValueError(f"Unexpected Error:: {str(e)}")

贡献指南

打开贡献指南

调研方向

使用 CDK 安装后重现运行时故障,然后检查 /app/agent.py 第 229 行附近和 /app/utils.py 第 148 行附近,尤其是 read_agent_response 如何处理 event_stream。将传递到该函数的事件数据与预期的响应结构进行比较;安装后的 Streamlit 应用能够运行且不引发报告中的 orchestrationTrace 错误,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, python, streamlit
领域
backend, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。