We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5958032 commit 3baa5c4Copy full SHA for 3baa5c4
fastchat/serve/api_provider.py
@@ -253,6 +253,7 @@ def get_api_provider_stream_iter(
253
messages=messages,
254
api_base=model_api_dict["api_base"],
255
api_key=model_api_dict["api_key"],
256
+ conversation_id=state.conv_id,
257
)
258
else:
259
raise NotImplementedError()
@@ -1279,6 +1280,7 @@ def jab_api_stream_iter(
1279
1280
messages,
1281
api_base,
1282
api_key,
1283
+ conversation_id
1284
):
1285
import requests
1286
@@ -1291,6 +1293,7 @@ def jab_api_stream_iter(
1291
1293
payload = {
1292
1294
"model": model_name,
1295
"messages": text_messages,
1296
+ "conversation_id": conversation_id,
1297
}
1298
1299
logger.info(f"==== request ====\n{payload}")
0 commit comments