Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openai api call does not work #97

Closed
rafstahelin opened this issue Aug 18, 2024 · 0 comments
Closed

openai api call does not work #97

rafstahelin opened this issue Aug 18, 2024 · 0 comments

Comments

@rafstahelin
Copy link

getting error when loading openai api in env.
works great with gemini and anthropic but get message:

my api works on other comfyui llm node with same api

[ERROR] An error occurred while retrieving information for the 'easy fullLoader' node.
Traceback (most recent call last):
  File "E:\comfyui2\ComfyUI\server.py", line 452, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\server.py", line 425, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 883, in INPUT_TYPES
    "config_name": (["Default", ] + folder_paths.get_filename_list("configs"), {"default": "Default"}),
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\folder_paths.py", line 240, in get_filename_list
    out = cached_filename_list_(folder_name)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\folder_paths.py", line 227, in cached_filename_list_
    if os.path.getmtime(folder) != time_modified:
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 55, in getmtime
OSError: [WinError 1921] The name of the file cannot be resolved by the system: 'E:\\comfyui2\\ComfyUI\\models\\configs'

[ERROR] An error occurred while retrieving information for the 'SDParameterGenerator' node.
Traceback (most recent call last):
  File "E:\comfyui2\ComfyUI\server.py", line 452, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\server.py", line 425, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\custom_nodes\comfyui-prompt-reader-node\nodes.py", line 753, in INPUT_TYPES
    ["none"] + folder_paths.get_filename_list("configs"),
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\folder_paths.py", line 240, in get_filename_list
    out = cached_filename_list_(folder_name)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\folder_paths.py", line 227, in cached_filename_list_
    if os.path.getmtime(folder) != time_modified:
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 55, in getmtime
OSError: [WinError 1921] The name of the file cannot be resolved by the system: 'E:\\comfyui2\\ComfyUI\\models\\configs'

[ERROR] An error occurred while retrieving information for the 'Checkpoint Loader' node.
Traceback (most recent call last):
  File "E:\comfyui2\ComfyUI\server.py", line 452, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\server.py", line 425, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 13578, in INPUT_TYPES
    return {"required": { "config_name": (comfy_paths.get_filename_list("configs"), ),
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\folder_paths.py", line 240, in get_filename_list
    out = cached_filename_list_(folder_name)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\comfyui2\ComfyUI\folder_paths.py", line 227, in cached_filename_list_
    if os.path.getmtime(folder) != time_modified:
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 55, in getmtime
OSError: [WinError 1921] The name of the file cannot be resolved by the system: 'E:\\comfyui2\\ComfyUI\\models\\configs'

@rafstahelin rafstahelin closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant