KaRlRe (@Karlbaey) 在 Codex 好好玩啊啊哈哈哈 中发帖
终于学会了怎么玩 Codex,然后就迫不及待地配置好 config.toml 玩上了。
[image]
不知道为什么玩 codex 总有种小时候无视风险继续访问的感觉。可能是看过好几例删掉 E 盘的事故了。我的权限设置的是 Default,不想给它只活一次。
但是有时候它喜欢写冗余代码,就比如这样。
import themeConfig from "@/config";
const giscus = themeConfig.comments.giscus;
const isReady =
giscus.enabled &&
giscus.repo &&
giscus.repoID &&
giscus.category &&
giscus.categoryID;
这样太复杂了,所以我给改了。
[image]
这样才对。
以后可能会把这个项目丢给 AI...