From 0ddfe57431e4e88d91d24d1428b4ebcc66a61b34 Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Fri, 20 Oct 2023 19:08:39 +0100 Subject: ~ | quick fix --- g4f/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api') 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/', methods=['GET'])(self.model_info) + self.app.route('/v1/models/', 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) -- cgit v1.2.3