mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
Check request limit in demo only in API
Stop recognition in UI on enter request Fix Ratelimt for Ping in GUI Use OpenaiTemplate for OIVSCode Support Reasoning in Blackbox Add error reporting in UI Support Custom Provider in Demo
This commit is contained in:
parent
0bdfd990bd
commit
c18f10243e
9 changed files with 121 additions and 139 deletions
|
|
@ -126,7 +126,7 @@ class Reasoning(ResponseType):
|
|||
self.status = status
|
||||
|
||||
def __str__(self) -> str:
|
||||
return "" if self.token is None else self.token
|
||||
return f"{self.status}\n" if self.token is None else self.token
|
||||
|
||||
class Sources(ResponseType):
|
||||
def __init__(self, sources: list[dict[str, str]]) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue