feat: add new openai reasoning models (#8786)
* Add new openai reasoning models * [autofix.ci] apply automated fixes * Updates language model, but FE doesn't send a POST for updating template atm * use chatopenai constants * [autofix.ci] apply automated fixes * Add reasoning to language model test * Remove temp from all reasoning models * t [autofix.ci] apply automated fixes * refactor: Update template notes (#8816) * update templates * small-changes * template cleanup --------- Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * ruff * uv lock * starter projects update * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Mike Fortman <michael.fortman@datastax.com> Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
This commit is contained in:
parent
15f2177c90
commit
be18f6d03a
29 changed files with 3676 additions and 59 deletions
|
|
@ -8,7 +8,7 @@ from langflow.base.models.model_input_constants import (
|
|||
MODEL_PROVIDERS,
|
||||
)
|
||||
from langflow.base.models.openai_constants import (
|
||||
OPENAI_MODEL_NAMES,
|
||||
OPENAI_CHAT_MODEL_NAMES,
|
||||
OPENAI_REASONING_MODEL_NAMES,
|
||||
)
|
||||
from langflow.components.agents.agent import AgentComponent
|
||||
|
|
@ -142,7 +142,7 @@ class TestAgentComponentWithClient(ComponentTestBaseWithClient):
|
|||
|
||||
# Iterate over all OpenAI models
|
||||
failed_models = []
|
||||
for model_name in OPENAI_MODEL_NAMES + OPENAI_REASONING_MODEL_NAMES:
|
||||
for model_name in OPENAI_CHAT_MODEL_NAMES + OPENAI_REASONING_MODEL_NAMES:
|
||||
# Initialize the AgentComponent with mocked inputs
|
||||
tools = [CalculatorToolComponent().build_tool()] # Use the Calculator component as a tool
|
||||
agent = AgentComponent(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue