Skip to content

feat: implement log queue processing with multiple services for enhan…#819

Open
Husainbw786 wants to merge 1 commit intotestingfrom
queue_added_consumer_Dev
Open

feat: implement log queue processing with multiple services for enhan…#819
Husainbw786 wants to merge 1 commit intotestingfrom
queue_added_consumer_Dev

Conversation

@Husainbw786
Copy link
Copy Markdown
Collaborator

…ced message handling

@windsurf-bot
Copy link
Copy Markdown
Contributor

windsurf-bot bot commented Mar 16, 2026

PR review rate limit exceeded

Husainbw786 pushed a commit that referenced this pull request Mar 16, 2026
…ements

- Add handlers for update_batch_history and save_batch_metrics (Python publishes these)
- Move inline Mongoose schema to AgentMemory.model.js
- Add input validation guards in all service functions
- Move hardcoded GPT memory prompt to prompts.config.js
- Increase batchSize from 1 to 10 for better throughput

Handlers added:
- saveSubThreadIdAndName.service.js
- validateResponse.service.js
- totalTokenCalculation.service.js
- chatbotSuggestions.service.js
- handleGptMemory.service.js (with config-based prompt)
- saveToAgentMemory.service.js (uses AgentMemory model)
- saveFilesToRedis.service.js
- sendApiHitEvent.service.js
- broadcastResponseWebhook.service.js
- updateBatchHistory.service.js (NEW - writes to PostgreSQL)
- saveBatchMetrics.service.js (NEW - writes to Timescale)

Ref: PR #819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant