Skip to content

Commit 65c6f66

Browse files
committed
updates reasoning effort to low
1 parent 4fdd186 commit 65c6f66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyserver/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def comments_to_tree(
500500
{"role": "user", "content": full_prompt},
501501
],
502502
response_format={"type": "json_object"},
503-
reasoning={"effort": "low"},
503+
reasoning_effort="low",
504504
)
505505
try:
506506
tree = json.loads(response.choices[0].message.content)
@@ -1144,7 +1144,7 @@ def dedup_claims(claims: list, llm: LLMConfig, api_key: str, topic_name: str = "
11441144
{"role": "user", "content": full_prompt},
11451145
],
11461146
response_format={"type": "json_object"},
1147-
reasoning={"effort": "low"},
1147+
reasoning_effort="low",
11481148
)
11491149
try:
11501150
deduped_claims = response.choices[0].message.content
@@ -1721,7 +1721,7 @@ def generate_topic_summaries(
17211721
{"role": "user", "content": full_prompt},
17221722
],
17231723
response_format={"type": "json_object"},
1724-
reasoning={"effort": "low"}
1724+
reasoning_effort="low"
17251725
)
17261726

17271727
try:
@@ -1882,7 +1882,7 @@ def cruxes_for_topic(
18821882
{"role": "user", "content": full_prompt},
18831883
],
18841884
response_format={"type": "json_object"},
1885-
reasoning={"effort": "low"},
1885+
reasoning_effort="low",
18861886

18871887
)
18881888
crux = response.choices[0].message.content

0 commit comments

Comments
 (0)