AG2 home pagelight logodark logo
  • ag2ai/ag2
  • ag2ai/ag2
Documentation
User Guide
API References
Use Cases
User Stories
Contribute
FAQs
Ecosystem
Blog
API Reference
    • Overview
    • Agent
    • AgentNameConflictError
    • AssistantAgent
    • Cache
    • ChatResult
    • ContextExpression
    • ConversableAgent
    • GroupChat
    • GroupChatManager
    • InvalidCarryOverTypeError
    • LLMConfig
    • ModelClient
    • NoEligibleSpeakerError
    • OpenAIWrapper
    • SenderRequiredError
    • UndefinedNextAgentError
    • UpdateSystemMessage
    • UserProxyAgent
    • a_initiate_swarm_chat
    • a_run_swarm
    • config_list_from_dotenv
    • config_list_from_json
    • config_list_from_models
    • config_list_gpt4_gpt35
    • config_list_openai_aoai
    • filter_config
    • gather_usage_summary
    • get_config_list
    • initiate_chats
    • register_function
    • run_swarm
      • Overview
      • check_can_use_docker_or_throw
      • content_str
      • create_virtual_env
      • decide_use_docker
      • eval_function_completions
      • execute_code
      • extract_code
      • get_powershell_command
      • in_docker_container
      • infer_lang
      • is_docker_running
      • timeout_handler
On this page
  • Functions
code_utils

Overview

​
Functions

check_can_use_docker_or_throw

content_str

create_virtual_env

decide_use_docker

eval_function_completions

execute_code

extract_code

get_powershell_command

in_docker_container

infer_lang

is_docker_running

timeout_handler

RedisCachecheck_can_use_docker_or_throw
xgithublinkedindiscordyoutube
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.