Skip to content

Conversation

zhouyou9505
Copy link
Contributor

Describe what this PR does / why we need it

有一些场景会用到这几个hook

  • preLlmHook: 在 LLM 调用前修改系统提示词
  • postLlmHook: 在 LLM 调用后检查并修改响应
  • preToolHook: 在工具调用前准备工具参数
  • postToolHook: 在工具调用后收集结果到 map 中

仿照langgraph和adk-java的设计

image
image

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

@github-actions github-actions bot added the area/graph SAA Grpah module label Jun 9, 2025
@disaster1-tesk disaster1-tesk self-requested a review June 10, 2025 03:34
@disaster1-tesk disaster1-tesk merged commit a99a4bc into alibaba:main Jun 10, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graph SAA Grpah module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants