Commit Graph
23 Commits
Author SHA1 Message Date
draconicdragon e6266cc049 refactor with new API client and config management
my shitty description:
refactor a bunch of stuff
better model loading, removed the stupid js workaround to populating the COMBO fields
removed model loading from js and model fetching from routes/pyserver
unified model/character/styles lists internally as "catalog"

changed textbox in settings to by type: password

replaced primitive requests with client session for better/cleaner/modular request managing, added some better error logging and responses
added dry run env var VENICE_CLIENT_DRY_RUN can be set to 'true' or '1' (it just returns dummy response and doesnt hit the veniceai api)

make __init__.py module/node loading better by loading any .py file with NODE_*_MAPPING in nodes folder instead of hardcoding names

remove old redundant files

AI summarized description with some editing:
- Added `venice_client.py` for handling API requests to VeniceAI.
- Introduced `venice_config.py` for managing API key configuration.
- Created `venice_catalog.py` to manage and cache models, styles, and characters.
- Removed outdated key management logic from `pyserver/get_key_from_jssetting.py`.
- Consolidated character and model update logic into the new catalog management system.
- Move utility functions to `nodes/utils.py` containing validation stuff mostly.
- Removed legacy update scripts for characters, models, and styles.
- Added error handling and logging for API interactions.
- remove obsolete workflow JSON file.
2025-12-12 04:02:43 +01:00
Drac 3fd425f013 fix: character list now updates/downloads at all 2025-06-16 19:41:32 +02:00
Drac e3620fe571 refactor: create a function for fetching and assigning backend data to widget to make file cleaner and more modular 2025-06-16 19:12:54 +02:00
Drac 36a0d1012c feat: dynamically load character slugs 2025-06-16 18:22:25 +02:00
Drac c5b33b3953 feat: dynamically load voices 2025-06-15 00:34:29 +02:00
Drac d0fe4fc3e6 feat: dynamic update for models for generate speech node 2025-06-14 21:03:50 +02:00
Drac 8dee7e39d8 add advanced text gen node (untested) for experimental stuff and more code regarding character slugs 2025-03-16 18:50:38 +01:00
Drac 4f32584467 upscale still not working,
inpaint node responds 500, value adjustment
2025-03-07 20:17:08 +01:00
Drac dcbc2e7dca more error handling 2025-02-19 14:05:55 +01:00
Drac 396de05461 slightly better logging 2025-02-19 13:41:36 +01:00
Drac f52bcfcd18 remove defaulting from js 2025-02-18 08:02:33 +01:00
Drac a8596623d3 remove test and make js select first of model/style list 2025-02-18 07:52:23 +01:00
Drac ee68fed982 update refresh time 2025-02-18 07:34:54 +01:00
Drac e3d176e980 make text models and styles update automatically and fix things i guess and other stuff maybe 2025-02-18 07:29:45 +01:00
Drac f2016a2581 add some basic af error response to invalid api key 2025-02-18 05:28:23 +01:00
Drac 82147af492 rework + automatic model list update for generate image node, move startup js functions to sep. file 2025-02-18 01:13:52 +01:00
Drac a5f8d3e2b6 rename app.js to settings.js 2025-02-16 08:47:39 +01:00
Drac 343633d617 make api key js-settings based 2025-02-16 08:13:53 +01:00
Drac ff61734f85 use correct function for adding button 2025-02-07 18:03:16 +01:00
Drac 11f9546d89 add comment 2025-01-30 10:19:45 +01:00
Drac 9b36f36b4d change display namings 2025-01-30 10:00:23 +01:00
Drac 5c93cc3be2 move button to top of node 2025-01-30 09:51:19 +01:00
Drac e3b90d6e3b add textbox with letter count 2025-01-30 09:43:45 +01:00