summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
Diffstat (limited to 'g4f')
-rw-r--r--g4f/api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py
index ecc70a13..bca14050 100644
--- a/g4f/api/__init__.py
+++ b/g4f/api/__init__.py
@@ -53,7 +53,7 @@ class Api:
'Content-Disposition'], 'max_age': 600}})
self.app.route('/v1/models', methods=['GET'])(self.models)
- self.app.route('v1/models/<model_id>', methods=['GET'])(self.model_info)
+ self.app.route('/v1/models/<model_id>', methods=['GET'])(self.model_info)
self.app.route('/v1/chat/completions', methods=['POST'])(self.chat_completions)
self.app.route('/v1/completions', methods=['POST'])(self.completions)