mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-15 17:58:54 +08:00
@@ -173,6 +173,7 @@ class APIHandler(BaseHTTPRequestHandler):
|
||||
endpoints = {
|
||||
"/v1/completions": self.handle_text_completions,
|
||||
"/v1/chat/completions": self.handle_chat_completions,
|
||||
"/chat/completions": self.handle_chat_completions,
|
||||
}
|
||||
|
||||
if self.path not in endpoints:
|
||||
|
||||
Reference in New Issue
Block a user