技巧

llm-keys-ui 0.1 插件发布,解决 API 密钥管理问题

llm-keys-ui 0.1

精选理由

朋友,这个插件很实用,帮你解决 API 密钥管理的问题,不用每次都手动粘贴,通过命令就能获取,和 Codex Remote 配合使用很方便。

这个插件专门解决了一个具体问题。作者使用 Codex Remote 运行编码代理,有时需要配置 API 密钥。作者不喜欢在代理会话中粘贴 API 密钥,所以需要一个方法将密钥传到机器上。使用这个插件后,可以通过命令让 Codex 运行并获取一个包含本地网络或 Tailscale 设备 IP 的界面 URL,用于保存额外 API 密钥。之后代理会话可以通过命令获取特定模型的 API 密钥,如 'llm keys get anthropic'。

原文 · Simon Willison’s Weblog

llm-keys-ui 0.1

Release: llm-keys-ui 0.1 This plugin solves a very specific problem. I've started using Codex Remote to run coding agents on various machines while controlling them from my phone. Sometimes I use those machines to hack on LLM projects, and occasionally that means I need to configure an API key. I don't like pasting API keys into agent sessions, so I wanted a way to get those keys onto a machine without pasting them into the ChatGPT app directly. With this plugin, I can tell Codex to run: uvx --with llm-keys-ui llm keys-ui --all Then have it tell me the URL - including local network or Tailscale device IPs - for an interface to save additional API keys. Then later it can use a command like llm keys get anthropic as part of a shell command when it needs to use a key. Tags: llm , coding-agents , codex