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

Exception when no token generated #88

Open
matthai opened this issue Apr 5, 2024 · 1 comment
Open

Exception when no token generated #88

matthai opened this issue Apr 5, 2024 · 1 comment

Comments

@matthai
Copy link

matthai commented Apr 5, 2024

If I don't run FixedTokens() or text_gen() in the program, the program run crashes after finishing execution.

import pyaici.server as aici

async def main():
    print(f' starting main.........')

result = aici.start(main())

Does the print and crashes with:
image

@emrekiciman
Copy link
Collaborator

Thanks for reporting this @matthai Running a controller without interacting with the LLM isn't a scenario that had occurred to me!

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

2 participants