Skip to content

Commit 3b50414

Browse files
author
xueyulinn
committed
add model settings for a more stable pr_summary_agent
1 parent af65587 commit 3b50414

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

codehawk/agents/pr_summary_agent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import json
22

3-
from agents import Agent, Runner, trace
3+
from agents import Agent, Runner, trace, ModelSettings
44

55
from codehawk.agents.prompts import PR_SUMMARY_SYSTEM_PROMPT
66
from codehawk.github.dto.pull_request_dto import (
@@ -13,6 +13,7 @@
1313
name="Github Pull Request Summary Agent",
1414
instructions=PR_SUMMARY_SYSTEM_PROMPT,
1515
model="gpt-5.5",
16+
model_settings=ModelSettings(temperature=0.2, top_p=0.9)
1617
)
1718

1819

0 commit comments

Comments
 (0)