From 2d4116d98dc6b93f514ebcf653457b22d847152f Mon Sep 17 00:00:00 2001 From: liangxinbing <1580466765@qq.com> Date: Sun, 30 Mar 2025 23:57:03 +0800 Subject: [PATCH] update config.example-model-*.toml --- config/config.example-model-anthropic.toml | 28 ------------- ...i.toml => config.example-model-azure.toml} | 28 ------------- config/config.example-model-google.toml | 28 ------------- config/config.example-model-ollama.toml | 41 ++++--------------- 4 files changed, 7 insertions(+), 118 deletions(-) rename config/{config.example-model-openai.toml => config.example-model-azure.toml} (56%) diff --git a/config/config.example-model-anthropic.toml b/config/config.example-model-anthropic.toml index 21136f6..b9fe7a8 100644 --- a/config/config.example-model-anthropic.toml +++ b/config/config.example-model-anthropic.toml @@ -14,31 +14,3 @@ base_url = "https://api.anthropic.com/v1/" # API endpoint URL for vision model api_key = "YOUR_API_KEY" # Your API key for vision model max_tokens = 8192 # Maximum number of tokens in the response temperature = 0.0 # Controls randomness for vision model - - -# Optional configuration for specific browser configuration -# [browser] -# Whether to run browser in headless mode (default: false) -#headless = false -# Disable browser security features (default: true) -#disable_security = true -# Extra arguments to pass to the browser -#extra_chromium_args = [] -# Path to a Chrome instance to use to connect to your normal browser -# e.g. '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' -#chrome_instance_path = "" -# Connect to a browser instance via WebSocket -#wss_url = "" -# Connect to a browser instance via CDP -#cdp_url = "" - -# Optional configuration, Proxy settings for the browser -# [browser.proxy] -# server = "http://proxy-server:port" -# username = "proxy-username" -# password = "proxy-password" - -# Optional configuration, Search settings. -# [search] -# Search engine for agent to use. Default is "Google", can be set to "Baidu" or "DuckDuckGo". -#engine = "Google" diff --git a/config/config.example-model-openai.toml b/config/config.example-model-azure.toml similarity index 56% rename from config/config.example-model-openai.toml rename to config/config.example-model-azure.toml index 7924d20..37f61dd 100644 --- a/config/config.example-model-openai.toml +++ b/config/config.example-model-azure.toml @@ -16,31 +16,3 @@ base_url = "{YOUR_AZURE_ENDPOINT.rstrip('/')}/openai/deployments/{AZURE_DEPLOYME api_key = "YOUR_API_KEY" # Your API key for vision model max_tokens = 8192 # Maximum number of tokens in the response temperature = 0.0 # Controls randomness for vision model - - -# Optional configuration for specific browser configuration -# [browser] -# Whether to run browser in headless mode (default: false) -#headless = false -# Disable browser security features (default: true) -#disable_security = true -# Extra arguments to pass to the browser -#extra_chromium_args = [] -# Path to a Chrome instance to use to connect to your normal browser -# e.g. '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' -#chrome_instance_path = "" -# Connect to a browser instance via WebSocket -#wss_url = "" -# Connect to a browser instance via CDP -#cdp_url = "" - -# Optional configuration, Proxy settings for the browser -# [browser.proxy] -# server = "http://proxy-server:port" -# username = "proxy-username" -# password = "proxy-password" - -# Optional configuration, Search settings. -# [search] -# Search engine for agent to use. Default is "Google", can be set to "Baidu" or "DuckDuckGo". -#engine = "Google" diff --git a/config/config.example-model-google.toml b/config/config.example-model-google.toml index 2ed4f38..6c1b566 100644 --- a/config/config.example-model-google.toml +++ b/config/config.example-model-google.toml @@ -14,31 +14,3 @@ base_url = "https://generativelanguage.googleapis.com/v1beta/openai/" # API end api_key = "YOUR_API_KEY" # Your API key for vision model max_tokens = 8192 # Maximum number of tokens in the response temperature = 0.0 # Controls randomness for vision model - - -# Optional configuration for specific browser configuration -# [browser] -# Whether to run browser in headless mode (default: false) -#headless = false -# Disable browser security features (default: true) -#disable_security = true -# Extra arguments to pass to the browser -#extra_chromium_args = [] -# Path to a Chrome instance to use to connect to your normal browser -# e.g. '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' -#chrome_instance_path = "" -# Connect to a browser instance via WebSocket -#wss_url = "" -# Connect to a browser instance via CDP -#cdp_url = "" - -# Optional configuration, Proxy settings for the browser -# [browser.proxy] -# server = "http://proxy-server:port" -# username = "proxy-username" -# password = "proxy-password" - -# Optional configuration, Search settings. -# [search] -# Search engine for agent to use. Default is "Google", can be set to "Baidu" or "DuckDuckGo". -#engine = "Google" diff --git a/config/config.example-model-ollama.toml b/config/config.example-model-ollama.toml index 5fac431..2d064d8 100644 --- a/config/config.example-model-ollama.toml +++ b/config/config.example-model-ollama.toml @@ -8,37 +8,10 @@ max_tokens = 4096 # Maximum num temperature = 0.0 # Controls randomness -# [llm.vision] #OLLAMA VISION: -# api_type = 'ollama' -# model = "llama3.2-vision" # The vision model to use -# base_url = "http://localhost:11434/v1" # API endpoint URL for vision model -# api_key = "ollama" # Your API key for vision model -# max_tokens = 4096 # Maximum number of tokens in the response -# temperature = 0.0 # Controls randomness for vision model - -# Optional configuration for specific browser configuration -# [browser] -# Whether to run browser in headless mode (default: false) -#headless = false -# Disable browser security features (default: true) -#disable_security = true -# Extra arguments to pass to the browser -#extra_chromium_args = [] -# Path to a Chrome instance to use to connect to your normal browser -# e.g. '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' -#chrome_instance_path = "" -# Connect to a browser instance via WebSocket -#wss_url = "" -# Connect to a browser instance via CDP -#cdp_url = "" - -# Optional configuration, Proxy settings for the browser -# [browser.proxy] -# server = "http://proxy-server:port" -# username = "proxy-username" -# password = "proxy-password" - -# Optional configuration, Search settings. -# [search] -# Search engine for agent to use. Default is "Google", can be set to "Baidu" or "DuckDuckGo". -#engine = "Google" +[llm.vision] #OLLAMA VISION: +api_type = 'ollama' +model = "llama3.2-vision" # The vision model to use +base_url = "http://localhost:11434/v1" # API endpoint URL for vision model +api_key = "ollama" # Your API key for vision model +max_tokens = 4096 # Maximum number of tokens in the response +temperature = 0.0 # Controls randomness for vision model