Skip to content

Commit

Permalink
Merge branch 'Significant-Gravitas:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
RainRat committed May 24, 2024
2 parents 485598d + 4e02f7d commit 0d7ceee
Show file tree
Hide file tree
Showing 12 changed files with 750 additions and 149 deletions.
3 changes: 3 additions & 0 deletions autogpt/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
## ANTHROPIC_API_KEY - Anthropic API Key (Example: sk-ant-api03-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
# ANTHROPIC_API_KEY=

## GROQ_API_KEY - Groq API Key (Example: gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
# GROQ_API_KEY=

## TELEMETRY_OPT_IN - Share telemetry on errors and other issues with the AutoGPT team, e.g. through Sentry.
## This helps us to spot and solve problems earlier & faster. (Default: DISABLED)
# TELEMETRY_OPT_IN=true
Expand Down
65 changes: 63 additions & 2 deletions autogpt/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions autogpt/tests/integration/test_execute_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def test_execute_python_file_args(
assert result == f"{random_args_string}\n"


def test_execute_python_code(
@pytest.mark.asyncio
async def test_execute_python_code(
code_executor_component: CodeExecutorComponent,
random_code: str,
random_string: str,
Expand All @@ -93,7 +94,7 @@ def test_execute_python_code(
if not (is_docker_available() or we_are_running_in_a_docker_container()):
pytest.skip("Docker is not available")

result: str = code_executor_component.execute_python_code(random_code)
result: str = await code_executor_component.execute_python_code(random_code)
assert result.replace("\r", "") == f"Hello {random_string}!\n"


Expand Down
1 change: 1 addition & 0 deletions docs/content/AutoGPT/configuration/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Configuration is controlled through the `Config` object. You can set configurati
- `GITHUB_USERNAME`: GitHub Username. Optional.
- `GOOGLE_API_KEY`: Google API key. Optional.
- `GOOGLE_CUSTOM_SEARCH_ENGINE_ID`: [Google custom search engine ID](https://programmablesearchengine.google.com/controlpanel/all). Optional.
- `GROQ_API_KEY`: Set this if you want to use Groq models with AutoGPT
- `HEADLESS_BROWSER`: Use a headless browser while AutoGPT uses a web browser. Setting to `False` will allow you to see AutoGPT operate the browser. Default: True
- `HUGGINGFACE_API_TOKEN`: HuggingFace API, to be used for both image generation and audio to text. Optional.
- `HUGGINGFACE_AUDIO_TO_TEXT_MODEL`: HuggingFace audio to text model. Default: CompVis/stable-diffusion-v1-4
Expand Down
Loading

0 comments on commit 0d7ceee

Please sign in to comment.