Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ if prompt := st.chat_input("😉 Ask any question or feel free to use the exampl
|
|
112 |
# API Call
|
113 |
bot = ChatBot(api_key)
|
114 |
bot.history = st.session_state.messages.copy() # Update history from messages
|
115 |
-
response =
|
116 |
agent_id="ag:bfb4e4d9:20240809:coding-agent:b1d09feb",
|
117 |
user_message=prompt
|
118 |
)
|
|
|
112 |
# API Call
|
113 |
bot = ChatBot(api_key)
|
114 |
bot.history = st.session_state.messages.copy() # Update history from messages
|
115 |
+
response = bot.generate_response(
|
116 |
agent_id="ag:bfb4e4d9:20240809:coding-agent:b1d09feb",
|
117 |
user_message=prompt
|
118 |
)
|