refac
This commit is contained in:
1 parent
e6f38f52c8
commit
378673408e
2 files changed
+7
-5
No files matched your search
@@ -1882,6 +1882,10 @@ async def chat_completion(
|
||||
generate_chat_completions = chat_completion
|
||||
generate_chat_completion = chat_completion
|
||||
|
||||
# Expose as app.state so internal callers (e.g. automations) can
|
||||
# use the full pipeline without importing from main.py (avoids circular deps).
|
||||
app.state.CHAT_COMPLETION_HANDLER = chat_completion
|
||||
|
||||
|
||||
##################################
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user