docs: simplify model config in BROWSERBASE snippets to use string format

Closed
CH
8mo ago
+6-24

When using Browserbase, apiKey is now optional for openai/google/anthropic providers. Replace model object { modelName, apiKey } with simple string format "provider/model" to reduce friction in docs examples.

Updated files:

  • best-practices/caching.mdx (1 instance)
  • best-practices/deployments.mdx (1 instance)
  • best-practices/deterministic-agent.mdx (4 instances)

why

what changed

test plan


Summary by cubic

Simplified Browserbase examples to use a single "provider/model" string instead of a { modelName, apiKey } object. Since apiKey is now optional for OpenAI, Google, and Anthropic on Browserbase, the docs are easier to copy and use.