feat: mermaid rendering support

This commit is contained in:
Timothy J. Baek committed 2024-06-02 18:03:30 -07:00
1 parent a9e5003c4f
commit 3d74c04f50
6 files changed
+1169 -62

No files matched your search

+2
View File
@@ -498,6 +498,8 @@ async def chat_completed(form_data: dict, user=Depends(get_verified_user)):
]
sorted_filters = sorted(filters, key=lambda x: x["pipeline"]["priority"])
print(model_id)
if model_id in app.state.MODELS:
model = app.state.MODELS[model_id]
if "pipeline" in model: