Update OpenAILLMService and OpenPipeLLMService to use gpt-4.1 by default
This commit is contained in:
@@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- `OpenAILLMService` and `OpenPipeLLMService` now use `gpt-4.1` as their
|
||||||
|
default model.
|
||||||
|
|
||||||
- `SoundfileMixer` constructor arguments need to be keywords.
|
- `SoundfileMixer` constructor arguments need to be keywords.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class OpenAILLMService(BaseOpenAILLMService):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
model: str = "gpt-4o",
|
model: str = "gpt-4.1",
|
||||||
params: BaseOpenAILLMService.InputParams = BaseOpenAILLMService.InputParams(),
|
params: BaseOpenAILLMService.InputParams = BaseOpenAILLMService.InputParams(),
|
||||||
**kwargs,
|
**kwargs,
|
||||||
):
|
):
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class OpenPipeLLMService(OpenAILLMService):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
model: str = "gpt-4o",
|
model: str = "gpt-4.1",
|
||||||
api_key: Optional[str] = None,
|
api_key: Optional[str] = None,
|
||||||
base_url: Optional[str] = None,
|
base_url: Optional[str] = None,
|
||||||
openpipe_api_key: Optional[str] = None,
|
openpipe_api_key: Optional[str] = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user