Skip to content

Exception when no token generated #88

Description

@matthai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions