chore: update whatsapp group url
This commit is contained in:
parent
5892a7b734
commit
f7b311802f
|
|
@ -60,7 +60,7 @@ spec:
|
||||||
- name: PERSONAL_NUM
|
- name: PERSONAL_NUM
|
||||||
value: "+14085505485"
|
value: "+14085505485"
|
||||||
- name: GROUP_URL
|
- name: GROUP_URL
|
||||||
value: "https://chat.whatsapp.com/0Txfg7iZBbvIuvTbTqqgAX"
|
value: "https://chat.whatsapp.com/FXO0SCLA8DpJwClNNWdhhx"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: app-volume
|
- name: app-volume
|
||||||
mountPath: /app
|
mountPath: /app
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ spec:
|
||||||
- name: PERSONAL_NUM
|
- name: PERSONAL_NUM
|
||||||
value: "+14085505485"
|
value: "+14085505485"
|
||||||
- name: GROUP_URL
|
- name: GROUP_URL
|
||||||
value: "https://chat.whatsapp.com/0Txfg7iZBbvIuvTbTqqgAX"
|
value: "https://chat.whatsapp.com/FXO0SCLA8DpJwClNNWdhhx"
|
||||||
- name: ANTHROPIC_API_KEY
|
- name: ANTHROPIC_API_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ spec:
|
||||||
|
|
||||||
const ZIP = '16046';
|
const ZIP = '16046';
|
||||||
const GATEWAY = 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
const GATEWAY = 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
||||||
const GROUP = 'https://chat.whatsapp.com/0Txfg7iZBbvIuvTbTqqgAX';
|
const GROUP = 'https://chat.whatsapp.com/FXO0SCLA8DpJwClNNWdhhx';
|
||||||
const PERSONAL = '+14085505485';
|
const PERSONAL = '+14085505485';
|
||||||
|
|
||||||
function weatherEmoji(desc) {
|
function weatherEmoji(desc) {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { NextResponse } from 'next/server';
|
||||||
const GATEWAY = process.env.WHATSAPP_GATEWAY_URL ||
|
const GATEWAY = process.env.WHATSAPP_GATEWAY_URL ||
|
||||||
'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
||||||
const DEFAULT_GROUP = process.env.WHATSAPP_GROUP ||
|
const DEFAULT_GROUP = process.env.WHATSAPP_GROUP ||
|
||||||
'https://chat.whatsapp.com/0Txfg7iZBbvIuvTbTqqgAX';
|
'https://chat.whatsapp.com/FXO0SCLA8DpJwClNNWdhhx';
|
||||||
const PERSONAL_NUMBER = process.env.WHATSAPP_PERSONAL || '+14085505485';
|
const PERSONAL_NUMBER = process.env.WHATSAPP_PERSONAL || '+14085505485';
|
||||||
|
|
||||||
async function sendToRecipient(to, message) {
|
async function sendToRecipient(to, message) {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ app.use(express.json());
|
||||||
const DATA_FILE = process.env.DATA_FILE || '/data/reminders.json';
|
const DATA_FILE = process.env.DATA_FILE || '/data/reminders.json';
|
||||||
const GATEWAY = process.env.GATEWAY_URL || 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
const GATEWAY = process.env.GATEWAY_URL || 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
||||||
const PERSONAL = process.env.PERSONAL_NUM || '+14085505485';
|
const PERSONAL = process.env.PERSONAL_NUM || '+14085505485';
|
||||||
const GROUP = process.env.GROUP_URL || 'https://chat.whatsapp.com/0Txfg7iZBbvIuvTbTqqgAX';
|
const GROUP = process.env.GROUP_URL || 'https://chat.whatsapp.com/FXO0SCLA8DpJwClNNWdhhx';
|
||||||
const PORT = parseInt(process.env.PORT) || 6001;
|
const PORT = parseInt(process.env.PORT) || 6001;
|
||||||
|
|
||||||
// ── Persistence ──────────────────────────────────────────────────────────────
|
// ── Persistence ──────────────────────────────────────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const DATA_FILE = process.env.DATA_FILE || '/data/trips.json';
|
||||||
const GATEWAY_URL = process.env.GATEWAY_URL || 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
const GATEWAY_URL = process.env.GATEWAY_URL || 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/send-message';
|
||||||
const OLLAMA_URL = process.env.OLLAMA_URL || 'http://ollama.ai-agents.svc.cluster.local:11434/api/generate';
|
const OLLAMA_URL = process.env.OLLAMA_URL || 'http://ollama.ai-agents.svc.cluster.local:11434/api/generate';
|
||||||
const PERSONAL_NUM = process.env.PERSONAL_NUM || '+14085505485';
|
const PERSONAL_NUM = process.env.PERSONAL_NUM || '+14085505485';
|
||||||
const GROUP_URL = process.env.GROUP_URL || 'https://chat.whatsapp.com/0Txfg7iZBbvIuvTbTqqgAX';
|
const GROUP_URL = process.env.GROUP_URL || 'https://chat.whatsapp.com/FXO0SCLA8DpJwClNNWdhhx';
|
||||||
const PORT = parseInt(process.env.PORT) || 6002;
|
const PORT = parseInt(process.env.PORT) || 6002;
|
||||||
|
|
||||||
// ── Persistence ──────────────────────────────────────────────────────────────
|
// ── Persistence ──────────────────────────────────────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue