apiVersion: v1
kind: ConfigMap
metadata:
  name: ai-service-config
  namespace: erp
data:
  AI_DEFAULT_SERVICE: "openai"
  AI_CACHE_ENABLED: "true"
  AI_CACHE_TTL: "3600"
  AI_LOGGING_ENABLED: "true"
  AI_FALLBACK_ENABLED: "true"
---
apiVersion: v1
kind: Secret
metadata:
  name: ai-service-secrets
  namespace: erp
type: Opaque
stringData:
  OPENAI_API_KEY: "${OPENAI_API_KEY}"
  ALIYUN_QWEN_API_KEY: "${ALIYUN_QWEN_API_KEY}"
  ANTHROPIC_API_KEY: "${ANTHROPIC_API_KEY}"
  AZURE_OPENAI_API_KEY: "${AZURE_OPENAI_API_KEY}"
