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

AssertionError #34

Open
paultrott opened this issue May 2, 2023 · 1 comment
Open

AssertionError #34

paultrott opened this issue May 2, 2023 · 1 comment

Comments

@paultrott
Copy link

paultrott commented May 2, 2023

Error reading a .h file.

SYSTEM: Executing command: read_from_file
Traceback (most recent call last):
File "/home/xxx/loopgpt/research_gpt.py", line 14, in
agent.cli()
File "/home/xxx/anaconda3/lib/python3.9/site-packages/loopgpt/agent.py", line 501, in cli
cli(self, continuous=continuous)
File "/home/xxx/anaconda3/lib/python3.9/site-packages/loopgpt/loops/repl.py", line 174, in cli
resp = agent.chat(run_tool=True)
File "/home/xxx/anaconda3/lib/python3.9/site-packages/loopgpt/utils/spinner.py", line 137, in inner
return func(*args, **kwargs)
File "/home/xxx/anaconda3/lib/python3.9/site-packages/loopgpt/agent.py", line 185, in chat
assert max_tokens
AssertionError

@FayazRahman
Copy link
Collaborator

@paultrott This happens when the file you are reading is too big, we have not yet implemented input chunking

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