refactor: 重构目录结构,后端代码统一到 backend/ 目录
All checks were successful
GoLoom CI / Lint (push) Successful in 3m7s
GoLoom CI / Test (push) Successful in 5s
GoLoom CI / Build (push) Successful in 24s

This commit is contained in:
hhs
2026-06-10 15:35:32 +08:00
parent caada15831
commit 8c515a8b3e
23 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
ai:
agent:
config:
tables:
myAgent:
app-name: myAgent
agent:
agent-id: "10001"
agent-name: "my-assistant"
agent-desc: "通用 AI 助手"
module:
ai-api:
base-url: ${OPENAI_BASE_URL}
api-key: ${OPENAI_API_KEY}
chat-model:
model: "gpt-4"
agents:
- name: "assistant"
description: "通用助手"
instruction: |
你是一个有帮助的 AI 助手。请用中文回答用户的问题。
runner:
agent-name: "assistant"

View File

@@ -0,0 +1,13 @@
app:
name: goloom
env: local
server:
addr: ":8091"
llm:
request-timeout: 5m
agent:
config-paths:
- configs/agent/only-one-agent.yaml