mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-06 21:05:39 +00:00
Enhance Ollama interface compatibility
This commit is contained in:
parent
7b07d4c917
commit
9351b09cc7
@ -579,6 +579,11 @@ class OllamaAPI:
|
||||
data = {
|
||||
"model": self.ollama_server_infos.LIGHTRAG_MODEL,
|
||||
"created_at": self.ollama_server_infos.LIGHTRAG_CREATED_AT,
|
||||
"message": {
|
||||
"role": "assistant",
|
||||
"content": "",
|
||||
"images": None,
|
||||
},
|
||||
"done": True,
|
||||
"total_duration": total_time,
|
||||
"load_duration": 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user