fix: change github action to test different pipeline

This commit is contained in:
Eduardo Chiarotti
2024-07-04 19:25:30 -03:00
parent 2945ddd7e9
commit a34bc87163
2 changed files with 45 additions and 881 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -200,6 +200,8 @@ def test_multiple_output_type_error():
@pytest.mark.vcr(filter_headers=["authorization"])
def test_output_pydantic():
from langchain_openai import ChatOpenAI
class ScoreOutput(BaseModel):
score: int
@@ -215,6 +217,7 @@ def test_output_pydantic():
expected_output="The score of the title.",
output_pydantic=ScoreOutput,
agent=scorer,
llm=ChatOpenAI(model="gpt-4o"),
)
crew = Crew(agents=[scorer], tasks=[task])