フォーク元 g4f/gpt4free
more providers ( Yqcloud, Openai)
このコミットが含まれているのは:
コミット
f10d74eb6a
|
@ -37,7 +37,6 @@ g4f.Providers.Phind
|
|||
g4f.Providers.Yqcloud
|
||||
|
||||
# usage:
|
||||
|
||||
response = g4f.ChatCompletion.create(..., provider=g4f.Providers.ProviderName)
|
||||
```
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ from typing import Dict, NewType, Union, Optional, List, get_type_hints
|
|||
|
||||
sha256 = NewType('sha_256_hash', str)
|
||||
|
||||
|
||||
class MetaModels(type):
|
||||
def __str__(cls):
|
||||
output: List = [
|
||||
|
|
|
@ -10,7 +10,6 @@ from flask_cors import CORS
|
|||
app = Flask(__name__)
|
||||
CORS(app)
|
||||
|
||||
|
||||
@app.route("/chat/completions", methods=['POST'])
|
||||
def chat_completions():
|
||||
streaming = request.json.get('stream', False)
|
||||
|
|
読み込み中…
新しいイシューから参照