개요
Browser Use는 OpenAI 호환 채팅 모델 래퍼인ChatOpenAILike를 통해 TokenLab을 호출할 수 있습니다.
유형: 브라우저 자동화 에이전트 프레임워크기본 경로: OpenAI 호환 Chat Completions지원 신뢰도: 지원되는 OpenAI 호환 경로
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
TokenLab 모델로 Browser Use 에이전트 실행하기
ChatOpenAILike를 통해 TokenLab을 호출할 수 있습니다.
export TOKENLAB_API_KEY="sk-your-tokenlab-key"
import os
from browser_use import Agent
from browser_use.llm.openai.like import ChatOpenAILike
llm = ChatOpenAILike(
model="claude-sonnet-5",
api_key=os.environ["TOKENLAB_API_KEY"],
base_url="https://api.tokenlab.sh/v1",
)
agent = Agent(
task="Compare the top search results for TokenLab integrations",
llm=llm,
)