Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,8 @@ import aiohttp
|
|
92 |
import asyncio
|
93 |
from tenacity import retry, stop_after_attempt, wait_exponential
|
94 |
|
95 |
-
async def get_bot_response(adapter_id, prompt, state, bot_index, character_name, character_description):
|
96 |
-
prompt = format_prompt(state, bot_index, character_name, character_description)
|
97 |
|
98 |
fireworks_adapter_name = next(entry['fireworks_adapter_name'] for entry in chatbots_data if entry['adapter'] == adapter_id)
|
99 |
|
|
|
92 |
import asyncio
|
93 |
from tenacity import retry, stop_after_attempt, wait_exponential
|
94 |
|
95 |
+
async def get_bot_response(adapter_id, prompt, state, bot_index, character_name, character_description, user_name):
|
96 |
+
prompt = format_prompt(state, bot_index, character_name, character_description, user_name)
|
97 |
|
98 |
fireworks_adapter_name = next(entry['fireworks_adapter_name'] for entry in chatbots_data if entry['adapter'] == adapter_id)
|
99 |
|