From 6912b49f135ba47619afc0e2036c88acb1c368cd Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Sat, 21 Sep 2024 18:37:35 -0400 Subject: [PATCH] Revert "Add control frames for LLM config params" --- src/pipecat/frames/frames.py | 60 ------------------------------------ 1 file changed, 60 deletions(-) diff --git a/src/pipecat/frames/frames.py b/src/pipecat/frames/frames.py index 3211bd266..8f1f52234 100644 --- a/src/pipecat/frames/frames.py +++ b/src/pipecat/frames/frames.py @@ -483,66 +483,6 @@ class LLMModelUpdateFrame(ControlFrame): model: str -@dataclass -class LLMTemperatureUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM temperature. - """ - temperature: float - - -@dataclass -class LLMTopKUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM top_k. - """ - top_k: int - - -@dataclass -class LLMTopPUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM top_p. - """ - top_p: float - - -@dataclass -class LLMFrequencyPenaltyUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM frequency - penalty. - - """ - frequency_penalty: float - - -@dataclass -class LLMPresencePenaltyUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM presence - penalty. - - """ - presence_penalty: float - - -@dataclass -class LLMMaxTokensUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM max tokens. - """ - max_tokens: int - - -@dataclass -class LLMSeedUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM seed. - """ - seed: int - - -@dataclass -class LLMExtraUpdateFrame(ControlFrame): - """A control frame containing a request to update to a new LLM extra params. - """ - extra: dict - - @dataclass class TTSModelUpdateFrame(ControlFrame): """A control frame containing a request to update the TTS model.