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

better error on prompt len exceeded in rllm #81

Open
mmoskal opened this issue Mar 25, 2024 · 0 comments
Open

better error on prompt len exceeded in rllm #81

mmoskal opened this issue Mar 25, 2024 · 0 comments
Labels
bug Something isn't working rLLM

Comments

@mmoskal
Copy link
Member

mmoskal commented Mar 25, 2024

The following gives stop_reason: "failed" but no indication why.

import pyaici.server as aici

async def main():
    await aici.FixedTokens("Some long text that will serve as a prompt for the model to generate more text. This is a test of the AICI server." * 500)
    await aici.gen_text(max_tokens=250, store_var=f"function", stop_at="```")

aici.start(main())
@mmoskal mmoskal added bug Something isn't working rLLM labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rLLM
Projects
None yet
Development

No branches or pull requests

1 participant