diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2023-10-07 18:14:52 -0700 |
---|---|---|
committer | Reinier van der Leer <pwuts@agpt.co> | 2023-10-07 18:14:52 -0700 |
commit | 0b709a43936954a37f5efc75580c14d040088124 (patch) | |
tree | b284295b589f463942859039c2099f63708c380f /docs | |
parent | AutoGPT: Clean up paths in config (diff) | |
download | Auto-GPT-0b709a43936954a37f5efc75580c14d040088124.tar.gz Auto-GPT-0b709a43936954a37f5efc75580c14d040088124.tar.bz2 Auto-GPT-0b709a43936954a37f5efc75580c14d040088124.zip |
Rename AIConfig to AIProfile
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/challenges/building_challenges.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/challenges/building_challenges.md b/docs/content/challenges/building_challenges.md index adff7f04d..d6fd7bf49 100644 --- a/docs/content/challenges/building_challenges.md +++ b/docs/content/challenges/building_challenges.md @@ -42,21 +42,21 @@ def kubernetes_agent( command_registry.import_commands("autogpt.app") # Define all the settings of our challenged agent - ai_config = AIConfig( + ai_profile = AIProfile( ai_name="Kubernetes", ai_role="an autonomous agent that specializes in creating Kubernetes deployment templates.", ai_goals=[ "Write a simple kubernetes deployment file and save it as a kube.yaml.", ], ) - ai_config.command_registry = command_registry + ai_profile.command_registry = command_registry - system_prompt = ai_config.construct_full_prompt() + system_prompt = ai_profile.construct_full_prompt() agent_test_config.set_continuous_mode(False) agent = Agent( memory=memory_json_file, command_registry=command_registry, - config=ai_config, + config=ai_profile, next_action_count=0, triggering_prompt=DEFAULT_TRIGGERING_PROMPT, ) |