renamed all (#3207)

This commit is contained in:
Eduard van Valkenburg
2026-01-14 06:54:07 +01:00
committed by GitHub
Unverified
parent 1ae0b09e42
commit d8cf8361bd
125 changed files with 1024 additions and 1027 deletions
@@ -7,8 +7,8 @@ from typing import Annotated
from agent_framework import (
AgentMiddleware,
AgentResponse,
AgentRunContext,
AgentRunResponse,
ChatMessage,
Role,
)
@@ -57,7 +57,7 @@ class PreTerminationMiddleware(AgentMiddleware):
print(f"[PreTerminationMiddleware] Blocked word '{blocked_word}' detected. Terminating request.")
# Set a custom response
context.result = AgentRunResponse(
context.result = AgentResponse(
messages=[
ChatMessage(
role=Role.ASSISTANT,