mirror of
https://github.com/browser-use/browser-use.git
synced 2026-10-02 04:04:36 +08:00
docs: address PZERO review feedback on api_key and catalog link
This commit is contained in:
@@ -282,12 +282,12 @@ import os
|
||||
llm = ChatOpenAI(
|
||||
model="deepseek-v4-flash",
|
||||
base_url="https://api.pzero.studio/v1",
|
||||
api_key=os.environ["PZERO_API_KEY"],
|
||||
api_key=os.getenv("PZERO_API_KEY"),
|
||||
)
|
||||
```
|
||||
**Env:** `PZERO_API_KEY` — get a key at https://pzero.studio/agents
|
||||
|
||||
Use the `/v1` base URL (not `/v1/chat/completions`). Pass catalog model ids as-is (no `openai/` prefix). The default `deepseek-v4-flash` model is text-only — set `use_vision=False` on the agent unless you pick a vision-capable model from the [catalog](https://api.pzero.studio/v1/models).
|
||||
Use the `/v1` base URL (not `/v1/chat/completions`). Pass catalog model ids as-is (no `openai/` prefix). The default `deepseek-v4-flash` model is text-only — set `use_vision=False` on the agent unless you pick a vision-capable model. List available models with `GET https://api.pzero.studio/v1/models` (no auth required).
|
||||
|
||||
### LangChain
|
||||
See example at [examples/models/langchain](https://github.com/browser-use/browser-use/tree/main/examples/models/langchain).
|
||||
|
||||
Reference in New Issue
Block a user