Files
GenericAgent/mykey_template.py
Liang Jiaqing 8d3582e3b7 feat: add ACK mechanism for WS execute_js + timeout diagnostics
- TMWebDriver: add self.acks dict, HTTP implicit ACK on longpoll dequeue, WS explicit ACK handler, enhanced timeout diagnostics (4 cases)
- Fix: data.get('type') in 'result' -> == 'result'
- JS userscript: send ACK on script receive
- tgapp: fix proxy URL prefix
- mykey_template: add tg/proxy fields
2026-02-13 15:30:49 +08:00

31 lines
580 B
Python

oai_config = {
'apikey':'sk-uklURcj',
'apibase':"http://113.145.139.147:3001/v1",
'model':"openai/gpt-5.1"
}
# or
sider_cookie = 'token=Bearer%20eyJhbGciOiJIUz...'
# feel free to add more ~
oai_config2 = {
'apikey':'sk-uklURcj...',
'apibase':"http://133.145.139.147:3001/v1",
'model':"claude-opus-4-6-20260206"
}
claude_config = {
'apikey':'klURcj...',
'apibase':"http://233.145.139.147:3001/",
'model':"claude-opus"
}
# If you need them
# tg_bot_token = '84102K2gYZ...'
# tg_allowed_users = [6806...]
# proxy = "http://127.0.0.1:2082"