Commit Graph
73 Commits
Author SHA1 Message Date
hekmon c4f2fb1dfd docs: replace deprecated TGI with SGLang
The TGI repository was archived on 2026-03-21 and is in maintenance
mode since late 2025; Hugging Face now recommends vLLM and SGLang
as forward inference engines.
v3.0.0-rc2
2026-10-15 13:16:48 +00:00
hekmon 3052053430 fix: correct malformed openai version specifier and allow 3.x
The missing comma between version clauses made the requirement
invalid PEP 508 (rejected by the packaging library). The <3.0.0
upper bound is also outdated since the OpenAI SDK 3.0.0 release
(2026-08-12); the API surface used by this node (OpenAI client
constructor, chat.completions.create and type imports) is verified
compatible with 3.31.0.
2026-10-15 13:16:48 +00:00
hekmon 8541c68f1f ci: skip registry publish for pre-release tags
The ComfyUI registry has no prerelease concept: publishing a version
like 3.0.0-rc1 would become the default install for all users (latest
version published wins). Tags containing a hyphen (e.g. v3.0.0-rc1)
now skip the publish job so pre-releases stay GitHub-only.
v3.0.0-rc1
2026-10-15 11:10:00 +00:00
hekmon 6766975893 fix: tolerate usage objects without token details fields (Fixes #5) 2026-10-15 13:06:27 +02:00
hekmon 2a31765d39 Merge pull request #7 from rekapap/max-completion-tokens
Max completion tokens support
2026-10-15 10:44:10 +00:00
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
Reka 4ed32eefed chore: restore unrelated assets 2026-10-01 21:33:17 +01:00
Reka d035a8564f cleanup images 2026-10-01 21:25:54 +01:00
Reka 5541c203e0 support max_completion_tokens without sending null max_tokens
Newer chat models reject max_tokens. Omit unset optional fields, add a Max Completion Tokens option, and error if both limits are set.
2026-10-01 21:20:17 +01:00
Hekmon efb68c4229 prepare for v2.0.1 v2.0.1 2025-11-26 09:44:38 +01:00
Hekmon 75683446a2 force max_tokens widget input value maximum to avoid the comfyui default one.
Fixes Max Tokens node maximum input value is too low
Fixes #4
2025-11-26 09:42:23 +01:00
Hekmon c6ce328445 add tokens stats as preview text & report it to console as well 2025-11-11 12:53:21 +01:00
Hekmon 3f4d2ec845 update readme v2.0.0 2025-11-10 16:33:31 +01:00
Hekmon 625900df88 update readme 2025-11-10 16:33:01 +01:00
Hekmon 5dc563b306 update readme 2025-11-10 16:29:00 +01:00
Hekmon a6b25dc872 reordonate 2025-11-10 16:28:55 +01:00
Hekmon 735fadc08f fix UI for developer role node option 2025-11-10 16:26:06 +01:00
Hekmon 7ebb0fdc4f fix typo 2025-11-10 16:18:48 +01:00
Hekmon b77ea5b373 update readme 2025-11-10 16:14:05 +01:00
Hekmon e2e7558c91 add an option to always retriger a generation from the model 2025-11-10 16:10:01 +01:00
Hekmon 7c7c66edb8 rename options input for better clarity 2025-11-10 15:11:48 +01:00
Hekmon a2c3820b54 fix developer role being nullified when history is used 2025-11-10 14:56:36 +01:00
Hekmon 79f5e660db fix history output 2025-11-10 14:52:36 +01:00
Hekmon ab740f6785 add missing descriptions 2025-11-10 14:42:45 +01:00
Hekmon 59e39d28f6 adapt completion to options payload 2025-11-10 14:27:55 +01:00
Hekmon e5009a5ed2 fix previous options that can be None 2025-11-10 14:24:30 +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 f485404b5c fix clashing in/out ids 2025-11-10 13:59:11 +01:00
Hekmon 51b1ffa91c cleanup 2025-11-10 13:54:08 +01:00
Hekmon 94156c1201 prepare for v2 2025-11-10 13:41:56 +01:00
Hekmon 5fac1974e4 change nodes IDs 2025-11-10 13:02:12 +01:00
Hekmon 5d446cdda3 options migration 2025-11-10 12:57:30 +01:00
Hekmon 06df313142 cleanup 2025-11-10 10:58:21 +01:00
Hekmon 865b52d077 use custom payloads for controlled str representation 2025-11-10 09:48:22 +01:00
Hekmon 93e3671456 migrated chat completion 2025-11-09 19:42:39 +01:00
Hekmon 990df5e3b1 add full comfy support for IDE and types checking 2025-11-09 19:42:24 +01:00
Hekmon d47376efc4 start with an up2date pip 2025-11-08 10:59:18 +01:00
Hekmon c6b9fb8d44 migrate client to manifest v3 2025-11-07 23:04:45 +01:00
Hekmon 1b0824e9d8 add dev container 2025-11-07 22:22:51 +01:00
Hekmon 28eddff741 update install notes for comfyui manager 2025-04-08 11:40:39 +02:00
Hekmon bf672aeae1 update project for comfy registry v1.0.0 2025-04-08 11:28:05 +02:00
Edouard Hur 419481a313 Merge pull request #1 from ComfyNodePRs/pyproject
Add pyproject.toml for Custom Node Registry
2025-04-08 11:23:06 +02:00
Edouard Hur ecad2abbea Merge pull request #2 from ComfyNodePRs/publish
Add Github Action for Publishing to Comfy Registry
2025-04-08 11:19:54 +02:00
snomiao 02a7d2133e chore(pyproject): Add pyproject.toml for Custom Node Registry 2025-04-04 15:57:04 +00:00
snomiao f0840daa9e chore(publish): Add Github Action for Publishing to Comfy Registry 2025-04-04 15:57:03 +00:00
Hekmon 2aafa231c4 lower case 2025-04-03 12:14:16 +02:00
Hekmon c9a0003c0c move developer role as option 2025-04-03 11:50:49 +02:00
Hekmon ddc54e0da4 move use dev role to an option node 2025-04-03 10:58:28 +02:00
Hekmon dfd60af5d4 remove warning 2025-04-02 18:49:45 +02:00