Skip to content

Commit 83b5341

Browse files
committed
Update optillm.py
fix --approach flag
1 parent 5d541ee commit 83b5341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optillm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def proxy():
284284
messages = data.get('messages', [])
285285
model = data.get('model', server_config['model'])
286286

287-
optillm_approach = data.get('optillm_approach', {})
287+
optillm_approach = data.get('optillm_approach', server_config['approach'])
288288

289289
system_prompt, initial_query, message_optillm_approach = parse_conversation(messages)
290290

0 commit comments

Comments
 (0)