agent_studio.config.config#

Module Contents#

Classes#

Config

Singleton for config.

class agent_studio.config.config.Config[source]#

Singleton for config.

seed: int = 42[source]#
headless: bool = False[source]#
python_timeout: int = 20[source]#
need_human_confirmation: bool = False[source]#
minimal_action_interval: float = 3.0[source]#
task_config_paths: dict[source]#
api_key_path: str = 'agent_studio/config/api_key.json'[source]#
stop_code: str = 'exit()'[source]#
remote: bool = True[source]#
env_type: str = 'desktop'[source]#
env_server_addr: str = '127.0.0.1'[source]#
env_server_host: str = '0.0.0.0'[source]#
vnc_port: int = 5900[source]#
env_server_port: int = 8000[source]#
vnc_password: str = '123456'[source]#
monitor_idx: int = 1[source]#
vnc_frame_size: tuple[int, int] = (1000, 1000)[source]#
record_path = 'data/trajectories'[source]#
video_fps: int = 5[source]#
mouse_fps: int = 5[source]#
stop_hotkeys: str = '<ctrl>+<shift>+h'[source]#
system_prompt_path: str = 'agent_studio/agent/prompts/system_prompt.txt'[source]#
init_code_path: str = 'agent_studio/agent/prompts/init_code.txt'[source]#
provider: str = 'remote'[source]#
agent: str = 'direct'[source]#
max_retries: int = 3[source]#
exec_model: str = 'gemini-pro-vision'[source]#
eval_model: str[source]#
model_server: str = 'http://127.0.0.1:65123'[source]#
temperature: float = 0.0[source]#
max_tokens: int = 4096[source]#
gemini_api_key: str = 'LOAD_FROM_API_KEY_PATH_AUTOMATICALLY'[source]#
openai_api_key: str = 'LOAD_FROM_API_KEY_PATH_AUTOMATICALLY'[source]#
anthropic_api_key: str = 'LOAD_FROM_API_KEY_PATH_AUTOMATICALLY'[source]#
google_credential_path: str = 'agent_studio/config/credentials.json'[source]#
google_calendar_id: str = 'LOAD_FROM_API_KEY_PATH_AUTOMATICALLY'[source]#
gmail_recipient: str = 'test@outlook.com'[source]#
vscode_workspace_path: str = 'vscode_workspace'[source]#
vscode_executable_path: str = 'code'[source]#
telegram_workdir: str = 'agent_studio/config'[source]#
telegram_api_id: int | str = 'LOAD_FROM_API_KEY_PATH_AUTOMATICALLY'[source]#
telegram_api_hash: str = 'LOAD_FROM_API_KEY_PATH_AUTOMATICALLY'[source]#
project_root: pathlib.Path[source]#
log_dir: pathlib.Path[source]#