feat: add support for custom thinking effort (resolves #6)
All checks were successful
Lint and Syntax Check / build (pull_request) Successful in 1m45s
All checks were successful
Lint and Syntax Check / build (pull_request) Successful in 1m45s
This commit is contained in:
3
main.py
3
main.py
@@ -7,6 +7,7 @@ OPENCLAW_URL = os.getenv("OPENCLAW_URL")
|
||||
OPENCLAW_TOKEN = os.getenv("OPENCLAW_TOKEN")
|
||||
OPENCLAW_PROXY_AUTH = os.getenv("OPENCLAW_PROXY_AUTH")
|
||||
OPENCLAW_MODEL = os.getenv("OPENCLAW_MODEL")
|
||||
OPENCLAW_THINKING = os.getenv("OPENCLAW_THINKING", "low")
|
||||
DATABASE_STORAGE = os.getenv("DATABASE_STORAGE_NAME")
|
||||
AGENT_USERNAME = os.getenv("AGENT_USERNAME")
|
||||
AGENT_PROMPT_FILE = os.getenv("AGENT_PROMPT_FILE")
|
||||
@@ -166,7 +167,7 @@ def sendToAgent(event_object):
|
||||
headers=headers,
|
||||
json={
|
||||
"message": message,
|
||||
"thinking": "low",
|
||||
"thinking": OPENCLAW_THINKING,
|
||||
"model": OPENCLAW_MODEL,
|
||||
"deliver": False,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user