From 19964ca867947ac94bdc36a477c98e40ab0b1a6a Mon Sep 17 00:00:00 2001 From: Max Novich Date: Wed, 18 Feb 2026 22:34:26 -0800 Subject: [PATCH] feat: add Cerebras provider support (#7339) Signed-off-by: Max Novich Signed-off-by: Max Novich Co-authored-by: Max Novich --- .../src/providers/declarative/cerebras.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 crates/goose/src/providers/declarative/cerebras.json diff --git a/crates/goose/src/providers/declarative/cerebras.json b/crates/goose/src/providers/declarative/cerebras.json new file mode 100644 index 0000000000..06eec5c1af --- /dev/null +++ b/crates/goose/src/providers/declarative/cerebras.json @@ -0,0 +1,27 @@ +{ + "name": "cerebras", + "engine": "openai", + "display_name": "Cerebras", + "description": "Fast inference on Cerebras wafer-scale engines", + "api_key_env": "CEREBRAS_API_KEY", + "base_url": "https://api.cerebras.ai/v1/chat/completions", + "models": [ + { + "name": "llama3.1-8b", + "context_limit": 131072 + }, + { + "name": "gpt-oss-120b", + "context_limit": 131072 + }, + { + "name": "qwen-3-235b-a22b-instruct-2507", + "context_limit": 131072 + }, + { + "name": "zai-glm-4.7", + "context_limit": 131072 + } + ], + "supports_streaming": true +}