feat: add intrgration for o3min

This commit is contained in:
Marco Vinciguerra 2025-03-13 14:36:05 +01:00
parent 8121c7b7f1
commit fc0a148017
2 changed files with 2 additions and 4 deletions

View File

@ -53,9 +53,6 @@ class AbstractGraph(ABC):
source: Optional[str] = None,
schema: Optional[Type[BaseModel]] = None,
):
if config.get("llm").get("temperature") is None:
config["llm"]["temperature"] = 0
self.prompt = prompt
self.source = source
self.config = config
@ -125,7 +122,7 @@ class AbstractGraph(ABC):
KeyError: If the model is not supported.
"""
llm_defaults = {"temperature": 0, "streaming": False}
llm_defaults = {"streaming": False}
llm_params = {**llm_defaults, **llm_config}
rate_limit_params = llm_params.pop("rate_limit", {})

View File

@ -27,6 +27,7 @@ models_tokens = {
"gpt-4.5-preview": 128000,
"o1-preview": 128000,
"o1-mini": 128000,
"o3-mini": 200000,
},
"azure_openai": {
"gpt-3.5-turbo-0125": 16385,