Skip to content

Commit 44ea8f9

Browse files
committed
chore: Update OpenAPI specs
1 parent ecf87b8 commit 44ea8f9

File tree

3 files changed

+6841
-1709
lines changed

3 files changed

+6841
-1709
lines changed

changelog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def gen_log(prompt):
4444
r = requests.post('https://openwebui.dev.devrev-eng.ai/api/chat/completions', json=payload,
4545
headers=headers)
4646
log = r.json()['choices'][0]['message']['content']
47-
log = re.sub(r"^Here's.*\n?", '', log, flags=re.MULTILINE)
47+
log = re.sub(r"^# .*\n?", '', log, flags=re.MULTILINE)
48+
log = re.sub(r"^Here.*\n?", '', log, flags=re.MULTILINE)
4849
log = re.sub(r"^Let me know.*\n?", '', log, flags=re.MULTILINE)
4950
except Exception as e:
5051
print(

0 commit comments

Comments
 (0)