Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/cd-on-premise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Build and push NestJS API image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'nest')
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -89,6 +90,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push Spring Boot API image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'spring')
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -102,6 +104,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push Web image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'web')
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -118,6 +121,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push Log Consumer image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'log')
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -131,6 +135,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push AI API image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'ai')
uses: docker/build-push-action@v5
with:
context: apps/ai-agent
Expand All @@ -144,6 +149,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push AI Indexer image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'ai')
uses: docker/build-push-action@v5
with:
context: apps/ai-agent
Expand All @@ -157,6 +163,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push AI Worker image
if: contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'ai')
uses: docker/build-push-action@v5
with:
context: apps/ai-agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,21 @@ private AiPrompt getPrompt(AiRun run) {
return promptService.getLatestPrompt(promptName);
} catch (RuntimeException e) {
String defaultTemplate = """
You are a specialist Token Manager (Todo) Agent.
You are a specialist Task Manager Agent for 'Flowly'.
User ID: %s, Workspace ID: %s

Your ONLY goal is to manage the user's todo list.
# CORE RULE:
- ALWAYS preserve the original titles of todos EXACTLY as they are retrieved.
- NEVER translate, summarize, or truncate Korean text in todo titles.
- 한국어 할 일 제목을 절대 수정하거나 생략하지 마세요. 있는 그대로 출력하세요.

# Guidelines
1. Always check the current list ('listTodos') before creating a duplicate.
2. If the user asks to "add" or "create", use 'createTodo'.
3. If the date is not specified, assume "Today".
4. Be concise in your confirmation ("Added 'Buy Milk'", "Here is your list: ...").
# Guidelines:
1. Use 'listTodos' to retrieve current tasks.
2. When listing todos, use the format: "- [ ] Title" or "- [Done] Title".
3. Answer in the language the user used (Korean).
""";
return promptService.createPrompt(promptName, defaultTemplate, "Default prompt for Todo Specialist");
return promptService.createPrompt(promptName, defaultTemplate,
"Default prompt for Todo Specialist with content preservation rules");
}
}
}
1 change: 1 addition & 0 deletions apps/ai-agent/ai-worker/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spring:
chat:
options:
model: qwen2.5:3b
temperature: 0.1 # 일관성 확보를 위해 낮게 설정
embedding:
model: nomic-embed-text

Expand Down
2 changes: 1 addition & 1 deletion private
Loading