Tring to fix this error on babycoder, any idea how?
I'm using the text generation web ui API extension for OpenAI. which look like this:
OPENAI_API_BASE=https://127.0.0.1:5001/v1
it worked with babyagi.py but with babycoder it shows this error:
Working on tasks
Creating initial tasks
Error calling OpenAI. Retrying 1 of 3...
Error calling OpenAI. Retrying 2 of 3...
Error calling OpenAI. Retrying 3 of 3...
Reviewing and refactoring tasks to fit agents
Adding relevant technical details to the tasks
Adding necessary context to the tasks
TASKS
Traceback (most recent call last):
File "D:\Programs\AI\Agents\babyagi\babycoder\babycoder.py", line 497, in
print_char_by_char(task_agent_output, 0.00000001, 10)
File "D:\Programs\AI\Agents\babyagi\babycoder\babycoder.py", line 58, in print_char_by_char
for i in range(0, len(text), chars_at_once):
^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Tring to fix this error on babycoder, any idea how?
I'm using the text generation web ui API extension for OpenAI. which look like this: OPENAI_API_BASE=https://127.0.0.1:5001/v1
it worked with babyagi.py but with babycoder it shows this error:
Working on tasks
TASKS Traceback (most recent call last): File "D:\Programs\AI\Agents\babyagi\babycoder\babycoder.py", line 497, in
print_char_by_char(task_agent_output, 0.00000001, 10)
File "D:\Programs\AI\Agents\babyagi\babycoder\babycoder.py", line 58, in print_char_by_char
for i in range(0, len(text), chars_at_once):
^^^^^^^^^
TypeError: object of type 'NoneType' has no len()