-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
planning to execute a ollama based microsoft/fara-7b model, I found a example https://github.com/browserbase/stagehand/blob/88d28cc6f31058d1cf6ec6dc948a4ae77a926b3c/packages/core/examples/oss-cua-example.ts
const agent = stagehand.agent({
cua: true,
model: {
modelName: "microsoft/fara-7b",
apiKey: process.env.AZURE_API_KEY,
baseURL: process.env.AZURE_ENDPOINT,
/** Alternative model configuration for Fireworks Deployments */
// modelName: "accounts/...",
// apiKey: process.env.FIREWORKS_API_KEY,
// baseURL: "https://api.fireworks.ai/inference/v1",
// provider: "microsoft", // Important: this routes to the MicrosoftCUAClient
},
systemPrompt: `You are a helpful assistant that can use a web browser.
You are currently on the following page: ${page.url()}.
Do not ask follow up questions, the user will trust your judgement. Today's date is ${new Date().toLocaleDateString()}. Remember apply buttons are there for a reason.`,
});
it seem to only work for the cloud AI model , how would I make it work for the local model from ollama or vllm ?
Metadata
Metadata
Assignees
Labels
No labels