mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Add login_url to authed providers
Create a home page for the GUI Fix CopyButton in Code Highlight
This commit is contained in:
parent
5b74a22cf9
commit
486e9a9122
32 changed files with 502 additions and 88 deletions
|
|
@ -127,8 +127,8 @@ class Copilot(AbstractProvider, ProviderModelMixin):
|
|||
response = session.post(cls.conversation_url)
|
||||
raise_for_status(response)
|
||||
conversation_id = response.json().get("id")
|
||||
conversation = Conversation(conversation_id)
|
||||
if return_conversation:
|
||||
conversation = Conversation(conversation_id)
|
||||
yield conversation
|
||||
if prompt is None:
|
||||
prompt = format_prompt_max_length(messages, 10000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue