mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-23 00:22:09 +03:00
Merge pull request #1744 from igeni/concat2fstr
modified to avoid type's mismatch and make like rest of the code
This commit is contained in:
commit
bf82352a3b
@ -462,7 +462,7 @@ async def stream_generate(
|
||||
response_txt = card.get('text')
|
||||
if message.get('messageType') and "inlines" in card:
|
||||
inline_txt = card['inlines'][0].get('text')
|
||||
response_txt += inline_txt + '\n'
|
||||
response_txt += f"{inline_txt}\n"
|
||||
elif message.get('contentType') == "IMAGE":
|
||||
prompt = message.get('text')
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user