Skip to content

armgit / fara

Public Imported from GitHub
0

Fara1.5 – A family of frontier computer use agent models

self-hosted scenario fix (#13)

Alexey Taymanov4b093dd24350
diff --git a/README.md b/README.md
index 2bde5c9..7eb87cf 100644
--- a/README.md
+++ b/README.md
@@ -169,7 +169,7 @@ Run the test script to see Fara in action:
python test_fara_agent.py --task "how many pages does wikipedia have" --start_page "https://www.bing.com" --endpoint_config endpoint_configs/azure_foundry_config.json [--headful] [--downloads_folder "/path/to/downloads"] [--save_screenshots] [--max_rounds 100] [--browserbase]
```
-The `client_config` points to `"base_url": "http://localhost:5000/v1"` from the VLLM server above.
+In self-hosting scenario the `endpoint_config` points to `endpoint_configs/vllm_config.json` from the VLLM server above.
If you set `--browserbase`, export environment variables for the API key and project ID.
diff --git a/endpoint_configs/vllm_config.json b/endpoint_configs/vllm_config.json
new file mode 100755
index 0000000..7a727b4
--- /dev/null
+++ b/endpoint_configs/vllm_config.json
@@ -0,0 +1,5 @@
+{
+ "model": "gpt-4o-mini-2024-07-18",
+ "base_url": "http://localhost:5000/v1",
+ "api_key": "<YOUR API KEY>"
+}
\ No newline at end of file