remove timeout
This commit is contained in:
1 parent
66729f7d08
commit
2c685c86bc
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -2,7 +2,7 @@
|
|||||||
### Example user template
|
### Example user template
|
||||||
|
|
||||||
# IntelliJ project files
|
# IntelliJ project files
|
||||||
.idea
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
out
|
out
|
||||||
gen
|
gen
|
||||||
@@ -132,7 +132,7 @@ celerybeat.pid
|
|||||||
|
|
||||||
# Environments
|
# Environments
|
||||||
.env
|
.env
|
||||||
.venv
|
.venv/
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
ENV/
|
ENV/
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ def process_user_input(user_text: str):
|
|||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
resp = requests.post(settings.LLAMA_CPP_URL, json=payload, timeout=15)
|
resp = requests.post(settings.LLAMA_CPP_URL, json=payload)
|
||||||
data = resp.json()
|
data = resp.json()
|
||||||
|
|
||||||
tool_calls = data["choices"][0]["message"].get("tool_calls", [])
|
tool_calls = data["choices"][0]["message"].get("tool_calls", [])
|
||||||
|
|||||||
Reference in new issue
Block a user