Use the OpenAI Client Libraries with Cerebras Inference
apiKey
parameter and change the baseURL
to https://api.cerebras.ai/v1:
frequency_penalty
logit_bias
presence_penalty
parallel_tool_calls
service_tier
stream
parameter, note that JSON mode is not compatible with streaming.