diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cedaa5d4..e562995fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated `RimeTTSService`'s flush_audio message to conform with Rime's official API. +- Updated the default model for `CerebrasLLMService` to GPT-OSS-120B. + ### Removed - Remove `StopInterruptionFrame`. This was a legacy frame that was not being diff --git a/examples/foundational/14k-function-calling-cerebras.py b/examples/foundational/14k-function-calling-cerebras.py index e30b8f854..642880dd0 100644 --- a/examples/foundational/14k-function-calling-cerebras.py +++ b/examples/foundational/14k-function-calling-cerebras.py @@ -67,7 +67,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): voice_id="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady ) - llm = CerebrasLLMService(api_key=os.getenv("CEREBRAS_API_KEY"), model="llama-3.3-70b") + llm = CerebrasLLMService(api_key=os.getenv("CEREBRAS_API_KEY")) # You can also register a function_name of None to get all functions # sent to the same callback with an additional function_name parameter. llm.register_function("get_current_weather", fetch_weather_from_api) diff --git a/src/pipecat/services/cerebras/llm.py b/src/pipecat/services/cerebras/llm.py index 5d6690d73..bf08ff56e 100644 --- a/src/pipecat/services/cerebras/llm.py +++ b/src/pipecat/services/cerebras/llm.py @@ -26,7 +26,7 @@ class CerebrasLLMService(OpenAILLMService): *, api_key: str, base_url: str = "https://api.cerebras.ai/v1", - model: str = "llama-3.3-70b", + model: str = "gpt-oss-120b", **kwargs, ): """Initialize the Cerebras LLM service. @@ -34,7 +34,7 @@ class CerebrasLLMService(OpenAILLMService): Args: api_key: The API key for accessing Cerebras's API. base_url: The base URL for Cerebras API. Defaults to "https://api.cerebras.ai/v1". - model: The model identifier to use. Defaults to "llama-3.3-70b". + model: The model identifier to use. Defaults to "gpt-oss-120b". **kwargs: Additional keyword arguments passed to OpenAILLMService. """ super().__init__(api_key=api_key, base_url=base_url, model=model, **kwargs)