mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-09 14:25:25 -05:00
* Add default AutoGPT profile to ai_profile.py & disable profile generator * Disable custom AI profile generation in agent_protocol_server.py - Replace `generate_agent_for_task` by `create_agent` - Make `ai_profile` parameter on `create_agent` optional (use default `AIProfile` if not passed) * Generalize example call in profile_generator.py Currently it's specified in an OpenAI-specific format, which might adversely affect performance with other providers. * Remove dead `AIProfile.api_budget` attribute * Remove `agent.ai_profile` and `agent.directives` attributes, and replace usages with `agent.state.*` This prevents potential state inconsistency between `agent` and `agent.state` when other values are assigned to `agent.ai_profile` and `agent.directives`