feat: add pydantic validation dunder to BaseInterceptor
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled

This commit is contained in:
Greyson LaLonde
2025-11-06 15:27:07 -05:00
committed by GitHub
parent fc521839e4
commit 9e5906c52f
8 changed files with 1761 additions and 2226 deletions

View File

@@ -2117,15 +2117,14 @@ def test_agent_with_only_crewai_knowledge():
goal="Provide information based on knowledge sources",
backstory="You have access to specific knowledge sources.",
llm=LLM(
model="openrouter/openai/gpt-4o-mini",
api_key=os.getenv("OPENROUTER_API_KEY"),
model="gpt-4o-mini",
),
)
# Create a task that requires the agent to use the knowledge
task = Task(
description="What is Vidit's favorite color?",
expected_output="Vidit's favorclearite color.",
expected_output="Vidit's favorite color.",
agent=agent,
)