feat: implement agent core components including planner, executor, orchestrator, and memory management while refactoring tool result presentation

This commit is contained in:
2026-07-21 19:08:25 +07:00
parent 94588bb12f
commit 5b128d8965
37 changed files with 892 additions and 720 deletions

View File

@@ -9,10 +9,10 @@ spring:
name: loyalty-agent-service
ai:
ollama:
base-url: http://localhost:11434
base-url: http://192.168.99.10:11434
chat:
options:
model: qwen3.5:2b
model: qwen3.5:4b
temperature: 0.3
mcp:
client:
@@ -23,25 +23,26 @@ spring:
connections:
loyalty:
url: ${MCP_SERVER_URL:http://localhost:9331}
security:
oauth2:
client:
registration:
keycloak:
client-id: ols-cli
client-secret: ${KEYCLOAK_CLIENT_SECRET:1jV8NSAeybIqmUK0AWhI8hgdo1q5itj7}
authorization-grant-type: client_credentials
provider:
keycloak:
token-uri: ${KEYCLOAK_TOKEN_URI:http://192.168.99.235/auth/realms/ols-cn-sit/protocol/openid-connect/token}
# security:
# oauth2:
# client:
# registration:
# keycloak:
# client-id: ols-cli
# client-secret: ${KEYCLOAK_CLIENT_SECRET:1jV8NSAeybIqmUK0AWhI8hgdo1q5itj7}
# authorization-grant-type: client_credentials
# provider:
# keycloak:
# token-uri: ${KEYCLOAK_TOKEN_URI:http://192.168.99.235/auth/realms/ols-cn-sit/protocol/openid-connect/token}
loyalty:
core:
base-url: ${LOYALTY_CORE_BASE_URL:http://192.168.99.242:8081}
#loyalty:
# core:
# base-url: ${LOYALTY_CORE_BASE_URL:http://192.168.99.242:8081}
logging:
pattern:
console: "%d{HH:mm:ss.SSS} %5p --- %-40.40logger{39} : %m%n"
level:
root: warn
org.springframework.ai: INFO
org.springframework.web: INFO
dev.sonpx.loyalty: DEBUG
root: warn