mirror of
https://github.com/RYDE-WORK/ktransformers.git
synced 2026-02-05 05:53:13 +08:00
Merge branch 'feat-DeepSeekV3' of github.com:kvcache-ai/ktransformers into feat-DeepSeekV3
This commit is contained in:
commit
0262f954c7
@ -81,8 +81,10 @@ def local_chat():
|
|||||||
content = "hi"
|
content = "hi"
|
||||||
else:
|
else:
|
||||||
content = open(config.prompt_file, "r").read()
|
content = open(config.prompt_file, "r").read()
|
||||||
|
print("User: ", content)
|
||||||
elif os.path.isfile(content):
|
elif os.path.isfile(content):
|
||||||
content = open(content, "r").read()
|
content = open(content, "r").read()
|
||||||
|
print("User: ", content)
|
||||||
messages = his_content + [{"role": "user", "content": content}]
|
messages = his_content + [{"role": "user", "content": content}]
|
||||||
|
|
||||||
async def async_inference(messages):
|
async def async_inference(messages):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user