Skip to content

Commit e0e32c5

Browse files
committed
don't save history of script generation
1 parent 08afd6a commit e0e32c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llms/extensions/browser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ async def generate_script(req):
550550
}
551551

552552
try:
553-
response = await ctx.chat_completion(chat_request, context={"tools": "none"})
553+
response = await ctx.chat_completion(chat_request, context={"tools": "none", "nohistory":True })
554554
content = response.get("choices", [{}])[0].get("message", {}).get("content", "")
555555

556556
# Clean up the response - extract just the script

0 commit comments

Comments
 (0)