summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-10-20 20:08:39 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-10-20 20:08:39 +0200
commit0ddfe57431e4e88d91d24d1428b4ebcc66a61b34 (patch)
tree811100e33fa64d4fe098634fac7b71c104e156f8
parent~ (diff)
downloadgpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.tar
gpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.tar.gz
gpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.tar.bz2
gpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.tar.lz
gpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.tar.xz
gpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.tar.zst
gpt4free-0ddfe57431e4e88d91d24d1428b4ebcc66a61b34.zip
Diffstat (limited to '')
-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)