From 4e1cea56ae8ce3c9d460a5c53e493571e135181b Mon Sep 17 00:00:00 2001 From: Rusfort Date: Wed, 7 May 2025 18:03:08 +0200 Subject: [PATCH] Bugfixes #46 #36 --- config/llm_settings.json | 4 ++-- gui/main_panel_widget.py | 1 + gui/preset_editor_widget.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/llm_settings.json b/config/llm_settings.json index 757bbbf..e04f1dd 100644 --- a/config/llm_settings.json +++ b/config/llm_settings.json @@ -191,7 +191,7 @@ }, { "relative_file_path": "Part1/TextureSupply_Boards001_A_28x300cm-Normal.jpg", - "classified_file_type": "MAP_NRM", + "classified_file_type": "MAP_NRM", "proposed_asset_group_name": "Boards001_A" }, { @@ -258,7 +258,7 @@ ], "asset_type_definition_format": "{KEY} = {DESCRIPTION}, examples of content of {KEY} could be: {EXAMPLES}", "file_type_definition_format": "{KEY} = {DESCRIPTION}, examples of keywords for {KEY} could be: {EXAMPLES}", - "llm_endpoint_url": "https://api.llm.gestaltservers.com/v1/chat/completions", + "llm_endpoint_url": "http://100.65.14.122:1234/v1/chat/completions", "llm_api_key": "", "llm_model_name": "qwen2.5-coder:3b", "llm_temperature": 0.5, diff --git a/gui/main_panel_widget.py b/gui/main_panel_widget.py index 183d02d..638f43f 100644 --- a/gui/main_panel_widget.py +++ b/gui/main_panel_widget.py @@ -1,3 +1,4 @@ +import functools import sys import os import json diff --git a/gui/preset_editor_widget.py b/gui/preset_editor_widget.py index 85c0b7c..25b9629 100644 --- a/gui/preset_editor_widget.py +++ b/gui/preset_editor_widget.py @@ -6,7 +6,7 @@ from pathlib import Path from functools import partial from PySide6.QtWidgets import ( - QWidget, QVBoxLayout, QHBoxLayout, QListWidget, QPushButton, QLabel, QTabWidget, + QWidget, QVBoxLayout, QHBoxLayout, QListWidget, QPushButton, QLabel, QTabWidget, QComboBox, QLineEdit, QTextEdit, QSpinBox, QTableWidget, QGroupBox, QFormLayout, QHeaderView, QAbstractItemView, QListWidgetItem, QTableWidgetItem, QMessageBox, QFileDialog, QInputDialog, QSizePolicy