MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / loader

Function loader

crates/opencode-plugin/builtin/codex-auth.ts:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 };
35 },
36 async loader() {
37 const key = process.env.OPENAI_API_KEY?.trim();
38 if (!key) return {};
39 return {
40 apiKey: key,
41 };
42 },
43 },
44 "chat.headers": async () => {
45 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected