mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Fix generate image in OpenaiChat
Add HarProvider, disable LMArenaProvider
This commit is contained in:
parent
eda3f69d4f
commit
9aba62733a
9 changed files with 1675 additions and 42 deletions
|
|
@ -396,7 +396,7 @@ class Backend_Api(Api):
|
|||
updated = chat_data.get("updated", 0)
|
||||
cache_value = self.chat_cache.get(share_id, 0)
|
||||
if updated == cache_value:
|
||||
return jsonify({"error": {"message": "invalid date"}}), 400
|
||||
return {"share_id": share_id}
|
||||
share_id = secure_filename(share_id)
|
||||
bucket_dir = get_bucket_dir(share_id)
|
||||
os.makedirs(bucket_dir, exist_ok=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue