fix: 스프링 필터 AOP 프록시 충돌(NPE) 해결 및 사내 로컬 AI 모델(Gemma-4-31B, Qwen3-Coder) 추가 지원
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 29s

This commit is contained in:
jade
2026-08-27 08:54:09 +09:00
parent bb8020b99c
commit 2fbf805afb
8 changed files with 47 additions and 71 deletions

View File

@@ -41,6 +41,8 @@ public class ScaffoldingController {
private static final Set<String> SUPPORTED_FIELD_TYPES = Set.of(
"String", "Integer", "Long", "Double", "Boolean", "BigDecimal", "List");
private static final Set<String> SUPPORTED_AI_MODELS = Set.of(
"Gemma-4-31B",
"Qwen3-Coder",
"inclusionai/ling-3.0-flash:free",
"openai/gpt-oss-20b:free",
"google/gemma-4-31b-it:free",

View File

@@ -15,7 +15,7 @@
</style>
<script src="/lib/tailwindcss.js"></script>
<!-- Bootstrap CSS -->
<link href="/vendor/bootstrap.min.css" rel="stylesheet">
<link href="/vendor/bootstrap.min.css" rel="stylesheet">sp
<style id="document-generator-styles">
.document-generator {
--docgen-panel: #111113;
@@ -953,11 +953,13 @@
</div>
<div class="col-md-3">
<select id="aiModelSelect" class="form-select" aria-label="AI 모델 선택">
<option value="cohere/north-mini-code:free" selected>Cohere North Mini Code</option>
<option value="inclusionai/ling-3.0-flash:free">InclusionAI Ling 3 Flash</option>
<option value="openai/gpt-oss-20b:free">OpenAI GPT-OSS 20B</option>
<option value="google/gemma-4-31b-it:free">Google Gemma 4 31B</option>
<option value="nvidia/nemotron-3-nano-30b-a3b:free">NVIDIA Nemotron 3 Nano</option>
<option value="Gemma-4-31B" selected>Gemma-4-31B (사내 로컬 제공)</option>
<option value="Qwen3-Coder">Qwen3-Coder (사내 로컬 제공)</option>
<option value="cohere/north-mini-code:free">Cohere North Mini Code (외부)</option>
<option value="inclusionai/ling-3.0-flash:free">InclusionAI Ling 3 Flash (외부)</option>
<option value="openai/gpt-oss-20b:free">OpenAI GPT-OSS 20B (외부)</option>
<option value="google/gemma-4-31b-it:free">Google Gemma 4 31B (외부)</option>
<option value="nvidia/nemotron-3-nano-30b-a3b:free">NVIDIA Nemotron 3 Nano (외부)</option>
</select>
</div>
<div class="col-md-3 d-grid">

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
@@ -86,11 +86,13 @@
</div>
<div class="flex items-center gap-4">
<select id="model-select" class="bg-[#1e2128] text-slate-300 text-xs px-3 py-1.5 rounded-lg border border-white/10 focus:outline-none focus:border-emerald-500/50 cursor-pointer">
<option value="inclusionai/ling-3.0-flash:free">Ling 3.0 Flash (무료 - 현재 제공 상태에 따라 제한될 수 있음)</option>
<option value="openai/gpt-oss-20b:free">GPT-OSS 20B (무료 - OpenRouter)</option>
<option value="google/gemma-4-31b-it:free">Gemma 4 31B (무료 - OpenRouter)</option>
<option value="nvidia/nemotron-3-nano-30b-a3b:free">NVIDIA Nemotron Nano 30B (무료 - OpenRouter)</option>
<option value="cohere/north-mini-code:free" selected>Cohere North Mini (기본 · 무료 - OpenRouter)</option>
<option value="Gemma-4-31B" selected>Gemma-4-31B (사내 로컬 제공)</option>
<option value="Qwen3-Coder">Qwen3-Coder (사내 로컬 제공)</option>
<option value="inclusionai/ling-3.0-flash:free">Ling 3.0 Flash (무료 - 외부)</option>
<option value="openai/gpt-oss-20b:free">GPT-OSS 20B (무료 - 외부)</option>
<option value="google/gemma-4-31b-it:free">Gemma 4 31B (무료 - 외부)</option>
<option value="nvidia/nemotron-3-nano-30b-a3b:free">NVIDIA Nemotron Nano 30B (무료 - 외부)</option>
<option value="cohere/north-mini-code:free">Cohere North Mini (기본 · 무료 - 외부)</option>
<option value="gemini-flash-latest">Gemini 1.5 Flash (직접 API - Google)</option>
</select>