stavsap--comfyui-ollama
cf55be7ce1
* gitignore pycache * mark V1 nodes deprecated, rename current nodes * refactor deprecated nodes into separate file * cleanup imports * update documentation * update readme * update ollama client: - add new 'think' argument - add separate thinking output - remove 'filter_thinking' which is no longer needed - In case the user requests thinking with a model that does not support thinking, an error message stops the run * - show error toast when the list of models fails to load, - avoid emptying the model selection when the list fails to load * add button widget to reconnect * add extension badge * add tooltips and node descriptions * add example workflows * update example image in readme * update change log * bump version for release
10 行
544 B
Python
10 行
544 B
Python
from .CompfyuiOllama import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
from .deprecated_nodes import NODE_CLASS_MAPPINGS as DEPRECATED_NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS as DEPRECATED_NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
#merge deprecated mappings
|
|
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **DEPRECATED_NODE_CLASS_MAPPINGS}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **DEPRECATED_NODE_DISPLAY_NAME_MAPPINGS}
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
|