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

fix for #4813 #4876

Merged

Conversation

u007
Copy link
Contributor

@u007 u007 commented Jul 3, 2023

summarize_text is currently broken, because it calls itself with the wrong args (missing config).

@arya-coding
Copy link

arya-coding commented Jul 3, 2023

I have the following error trying your branch to fix the error 4813
I'm using Windows 11 & Docker

Using memory of type: JSONFileMemory
Using Browser: chrome
Error:
'NoneType' object has no attribute 'replace'

Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/app/autogpt/main.py", line 5, in
autogpt.cli.main()
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/app/autogpt/cli.py", line 96, in main
run_auto_gpt(
File "/app/autogpt/main.py", line 195, in run_auto_gpt
agent.start_interaction_loop()
File "/app/autogpt/agent/agent.py", line 188, in start_interaction_loop
f"COMMAND = {Fore.CYAN}{remove_ansi_escape(command_name)}{Style.RESET_ALL} "
File "/app/autogpt/logs.py", line 253, in remove_ansi_escape
return s.replace("\x1B", "")
AttributeError: 'NoneType' object has no attribute 'replace'

@u007
Copy link
Contributor Author

u007 commented Jul 4, 2023

@arya-coding not sure if it is related, but ya here is a pr to this pr
#4882

@lc0rp lc0rp added this to the v0.4.4 Release milestone Jul 4, 2023
Copy link
Contributor

@lc0rp lc0rp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@lc0rp lc0rp added bug Something isn't working high priority hotfix labels Jul 4, 2023
@lc0rp lc0rp self-assigned this Jul 4, 2023
@Pwuts Pwuts changed the title fix for https://github.com/Significant-Gravitas/Auto-GPT/issues/4813 fix for #4813 Jul 4, 2023
@Pwuts
Copy link
Member

Pwuts commented Jul 4, 2023

Please spend a little bit more effort on the PR title and description next time. A good description makes it a lot easier to review & merge for us :)

@Pwuts Pwuts merged commit 5318535 into Significant-Gravitas:stable Jul 4, 2023
@Pwuts
Copy link
Member

Pwuts commented Jul 4, 2023

Also, please no PRs against stable. I missed it this time, and merged it, but this is not how we want to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Command browse_website returned: Error: 'str' object has no attribute 'fast_llm_model'
4 participants