更新到最新版后, 在图 1 启用(若显示暂无, 需要等待或重启)
1. 能力升级:Codex 不只写代码,还能操作电脑、浏览网页、生成图片
2. 流程打通:覆盖开发全流程,如审 PR、跑终端、连远程环境、处理评论
3. 更智能协作:支持记忆、自动化和主动建议,能持续跟进长期任务
https://openai.com/index/codex-for-almost-everything
- ❤️1
#cacheKey=xxx (xxx 不要重复, 这是缓存的 key ) 填入 Sub-Store 开启乐观缓存功能 详见 https://t.me/zhetengsha/1417noFlow 不查询流量信息, 反正都焚了...类似这样 #cacheKey=xxx&noFlow#cacheTtl=31536000&headersCacheTtl=31536000 这样缓存为一年 就不会拉取了. 流量查询好像也没啥意义了, 直接设置不查 #cacheTtl=31536000&noFlowgetDialogs 判断是否连接正常, 请查看说明操作docker inspect xxx 看下到底映射了啥路径.tpm i keep_onlinedocker inspect xxx 看下到底映射了啥路径/opt/nezha/agent/config.ymlgpu: false // 是否检查GPU
temperature: false // 是否检查温度
skip_connection_count: true // 跳过连接数检查
skip_procs_count: true // 跳过进程数量检查
report_delay: 3 // 报告间隔
dns: // DNS
- 8.8.4.4:53
- 9.9.9.12:53
- 208.67.220.220:53
- 94.140.14.141:53jq#!/usr/bin/env bash
api_key=""
chat_id=""
if ! pgrep -x nezha-agent > /dev/null || journalctl -o cat -u nezha-agent | grep -i "error" > /dev/null; then
# 重启服务
systemctl restart nezha-agent
# 清空日志
journalctl --rotate
journalctl --vacuum-time=1s
echo "nezha-agent service restarted and logs cleared."
curl -F disable_notification=true -F chat_id=$chat_id -F text="[$(hostname)] 哪吒探针已重启" https://api.telegram.org/bot$api_key/sendMessage > /dev/null
fi
*/1 * * * *#!/usr/bin/env bash
log_message() {
local message="$1"
echo -e "[$(date '+%Y-%m-%d %H:%M:%S')] $message"
}
send_notification() {
local title="$1"
local body="$2"
local icon="$3"
log_message "发送通知 $title\n$body"
/usr/local/emhttp/webGui/scripts/notify \
-e "哪吒保活 $title" \
-s "" \
-d "" \
-i "$icon" \
-m "$body" \
-l "http://unraid.local:60080/Settings/Userscripts"
}
cd /dev/shm/nezha
if cat nezha-agent.log | grep error || ! pgrep -x nezha-agent > /dev/null; then
echo "" > nezha-agent.log
killall nezha-agent > /dev/null
./nezha-agent > ./nezha-agent.log 2>&1 &
send_notification "⚠️ 检测到错误日志或进程不存在" "自动重启" "alert"
fisystemctl restart pagermaid 重启服务