Commit Graph
12 Commits
Author SHA1 Message Date
hekmon 70d51d5384 fix: read API key from environment instead of a widget input
ComfyUI serializes every node widget value (even from bypassed nodes)
into the 'prompt' and 'workflow' metadata chunks of generated images
and exported workflows. The api_key widget therefore leaked any real
key to whoever received those files (reported in #8).

BREAKING CHANGE: the OAIAPI_Client node no longer exposes an api_key
widget input. Set the OPENAI_API_KEY environment variable instead.
If unset, the client falls back to the '-' placeholder, which keeps
keyless inference servers (vLLM, etc) working unchanged.

Closes #8
2026-10-15 12:32:27 +02:00
Hekmon ab740f6785 add missing descriptions 2025-11-10 14:42:45 +01:00
Hekmon 7638f25249 prevent connection error with empty api key 2025-11-10 14:19:18 +01:00
Hekmon 7f7cf4752e allow base_url to be None if comming from another node. Fixes #3 2025-11-10 14:09:41 +01:00
Hekmon 51b1ffa91c cleanup 2025-11-10 13:54:08 +01:00
Hekmon 5fac1974e4 change nodes IDs 2025-11-10 13:02:12 +01:00
Hekmon 06df313142 cleanup 2025-11-10 10:58:21 +01:00
Hekmon 93e3671456 migrated chat completion 2025-11-09 19:42:39 +01:00
Hekmon c6b9fb8d44 migrate client to manifest v3 2025-11-07 23:04:45 +01:00
Hekmon d42a860eb0 add options 2025-04-01 15:44:16 +02:00
Hekmon 7196836d78 base working 2025-04-01 12:58:02 +02:00
Hekmon 984ce2f6fc switch to client approach 2025-04-01 12:10:43 +02:00