diff options
author | abc <98614666+xtekky@users.noreply.github.com> | 2023-10-20 20:08:39 +0200 |
---|---|---|
committer | abc <98614666+xtekky@users.noreply.github.com> | 2023-10-20 20:08:39 +0200 |
commit | 0ddfe57431e4e88d91d24d1428b4ebcc66a61b34 (patch) | |
tree | 811100e33fa64d4fe098634fac7b71c104e156f8 /g4f/api | |
parent | ~ (diff) | |
download | gpt4free-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 'g4f/api')
-rw-r--r-- | g4f/api/__init__.py | 2 |
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) |