@juspay/neurolink 7.40.0 → 7.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [7.40.1](https://github.com/juspay/neurolink/compare/v7.40.0...v7.40.1) (2025-09-17)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(title):** Update system prompt to generate better title ([9d0e5b8](https://github.com/juspay/neurolink/commit/9d0e5b85a11f2cfe67942f7db407193842f8b93f))
|
|
6
|
+
|
|
1
7
|
## [7.40.0](https://github.com/juspay/neurolink/compare/v7.39.0...v7.40.0) (2025-09-17)
|
|
2
8
|
|
|
3
9
|
### Features
|
|
@@ -595,15 +595,16 @@ export class RedisConversationMemoryManager {
|
|
|
595
595
|
const titleGenerator = new NeuroLink({
|
|
596
596
|
conversationMemory: { enabled: false },
|
|
597
597
|
});
|
|
598
|
-
const titlePrompt = `Generate a
|
|
598
|
+
const titlePrompt = `Generate a clear, concise, and descriptive title (5–8 words maximum) for a conversation based on the following user message.
|
|
599
|
+
The title must meaningfully reflect the topic or intent of the message.
|
|
600
|
+
Do not output anything unrelated, vague, or generic.
|
|
601
|
+
Do not say you cannot create a title. Always return a valid title.
|
|
599
602
|
|
|
600
|
-
User message: "${userMessage}
|
|
601
|
-
|
|
602
|
-
Title:`;
|
|
603
|
+
User message: "${userMessage}`;
|
|
603
604
|
const result = await titleGenerator.generate({
|
|
604
605
|
input: { text: titlePrompt },
|
|
605
606
|
provider: this.config.summarizationProvider || "vertex",
|
|
606
|
-
model: this.config.summarizationModel || "gemini-2.5-
|
|
607
|
+
model: this.config.summarizationModel || "gemini-2.5-flash",
|
|
607
608
|
disableTools: false,
|
|
608
609
|
});
|
|
609
610
|
// Clean up the generated title
|
|
@@ -595,15 +595,16 @@ export class RedisConversationMemoryManager {
|
|
|
595
595
|
const titleGenerator = new NeuroLink({
|
|
596
596
|
conversationMemory: { enabled: false },
|
|
597
597
|
});
|
|
598
|
-
const titlePrompt = `Generate a
|
|
598
|
+
const titlePrompt = `Generate a clear, concise, and descriptive title (5–8 words maximum) for a conversation based on the following user message.
|
|
599
|
+
The title must meaningfully reflect the topic or intent of the message.
|
|
600
|
+
Do not output anything unrelated, vague, or generic.
|
|
601
|
+
Do not say you cannot create a title. Always return a valid title.
|
|
599
602
|
|
|
600
|
-
User message: "${userMessage}
|
|
601
|
-
|
|
602
|
-
Title:`;
|
|
603
|
+
User message: "${userMessage}`;
|
|
603
604
|
const result = await titleGenerator.generate({
|
|
604
605
|
input: { text: titlePrompt },
|
|
605
606
|
provider: this.config.summarizationProvider || "vertex",
|
|
606
|
-
model: this.config.summarizationModel || "gemini-2.5-
|
|
607
|
+
model: this.config.summarizationModel || "gemini-2.5-flash",
|
|
607
608
|
disableTools: false,
|
|
608
609
|
});
|
|
609
610
|
// Clean up the generated title
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "7.40.
|
|
3
|
+
"version": "7.40.1",
|
|
4
4
|
"description": "Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Juspay Technologies",
|