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

Update role.py : Role.set_actions() #922

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Update role.py : Role.set_actions() #922

merged 1 commit into from
Feb 28, 2024

Conversation

Lixtt
Copy link
Contributor

@Lixtt Lixtt commented Feb 21, 2024

由于提示词里要求llm选择的状态码是 0 到 状态数-1,所以我想这里往states里添加动作对应状态时,也应当从0开始。
Due to the requirement in the prompt word that llm selects a status code from 0 to the number of states -1, I believe that when adding action corresponding states to states, it should also start from 0.

由于提示词里要求llm选择的状态码是 0 到 状态数-1,所以我认为这里往states里添加动作对应状态时,也应当从0开始。
@Lixtt Lixtt changed the title Update role.py Update role.py : Role.set_actions() Feb 21, 2024
Copy link
Owner

@geekan geekan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@geekan geekan merged commit 04cd506 into geekan:main Feb 28, 2024
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants