new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

nearai/setup

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

NEAR AI Cloud provider package

NEAR AI Cloud is available through the @ai-sdk/openai-compatible module as it is compatible with the OpenAI API. Install it with @ai-sdk/openai-compatible.

NEAR AI Cloud base URL

The base URL for NEAR AI Cloud API is https://cloud-api.near.ai/v1.

NEAR AI Cloud API key environment variable

API key for NEAR AI Cloud should be set in the NEARAI_API_KEY environment variable. You can create an API key in NEAR AI Cloud.

NEAR AI Cloud provider instance creation

Create a NEAR AI Cloud provider instance using createOpenAICompatible from @ai-sdk/openai-compatible with name 'nearai', baseURL 'https://cloud-api.near.ai/v1', apiKey from NEARAI_API_KEY environment variable, and a transformRequestBody function that removes the reasoning_effort field.

Give your agent this brain