Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

每次在命令行运行完生成代码等任务,最后都会遇到这个报错。但是也没影响任务。 #25

Open
wuxianliang opened this issue Jun 21, 2024 · 0 comments

Comments

@wuxianliang
Copy link

例如:运行

auto-coder --file /home/wxl/projects/HQChart/actions/002_read_source_code.yml
Traceback (most recent call last):
  File "/home/wxl/anaconda3/envs/autocoder/bin/auto-coder", line 8, in <module>
    sys.exit(main())
  File "/home/wxl/anaconda3/envs/autocoder/lib/python3.10/site-packages/autocoder/auto_coder.py", line 483, in main
    dispacher.dispach()
  File "/home/wxl/anaconda3/envs/autocoder/lib/python3.10/site-packages/autocoder/dispacher/__init__.py", line 27, in dispach
    if action.run():
  File "/home/wxl/anaconda3/envs/autocoder/lib/python3.10/site-packages/autocoder/dispacher/actions/action.py", line 310, in run
    self.process_content(source_code)
  File "/home/wxl/anaconda3/envs/autocoder/lib/python3.10/site-packages/autocoder/dispacher/actions/action.py", line 351, in process_content
    conversations=conversations,
UnboundLocalError: local variable 'conversations' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant