Merge branch 'master' of https://gitee.com/bnu_mixly/mixly3
This commit is contained in:
@@ -4,7 +4,7 @@ import json
|
||||
|
||||
|
||||
class Ollama():
|
||||
def __init__(self, url="", model=""):
|
||||
def __init__(self, url="", model="", max_history_num=0):
|
||||
self._heads = {
|
||||
"Accept": "text/event-stream",
|
||||
# "Cache-Control": "no-cache",
|
||||
@@ -13,7 +13,7 @@ class Ollama():
|
||||
}
|
||||
self._url = url
|
||||
self._max_retries = 1
|
||||
self._max_history_num = 0
|
||||
self._max_history_num = max_history_num
|
||||
self._timeout = 10000
|
||||
self._messages = []
|
||||
self._data = {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -52,7 +52,15 @@
|
||||
"yMin": 0,
|
||||
"pointNum": 100,
|
||||
"rts": false,
|
||||
"dtr": true
|
||||
"dtr": true,
|
||||
"micropython:esp32:mixgo": {
|
||||
"rts": true,
|
||||
"dtr": true
|
||||
},
|
||||
"micropython:esp32:mpython": {
|
||||
"rts": true,
|
||||
"dtr": true
|
||||
}
|
||||
},
|
||||
"lib": {
|
||||
"mixly": {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user