mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-11-15 09:11:45 +00:00
style(tools): restore trailing newlines
This commit is contained in:
parent
0d5f301159
commit
06c46bf422
15 changed files with 16 additions and 15 deletions
|
|
@ -79,4 +79,4 @@
|
|||
"tools"
|
||||
],
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,4 +309,4 @@ export {
|
|||
type PromptTemplate,
|
||||
type MemoryPromptData,
|
||||
} from "./vercel"
|
||||
export { getNamespace } from "./tools-shared"
|
||||
export { getNamespace } from "./tools-shared"
|
||||
|
|
|
|||
|
|
@ -82,4 +82,4 @@ export class MemoryCache<T extends {} = string> {
|
|||
* Convenience function to create a turn cache key.
|
||||
* @see MemoryCache.makeTurnKey
|
||||
*/
|
||||
export const makeTurnKey = MemoryCache.makeTurnKey
|
||||
export const makeTurnKey = MemoryCache.makeTurnKey
|
||||
|
|
|
|||
|
|
@ -53,4 +53,4 @@ async function main() {
|
|||
}
|
||||
}
|
||||
|
||||
main()
|
||||
main()
|
||||
|
|
|
|||
|
|
@ -285,4 +285,4 @@ async function main() {
|
|||
|
||||
if (import.meta.main) {
|
||||
main().catch(console.error)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -321,4 +321,4 @@ export async function runAllExamples() {
|
|||
// Run examples if this file is executed directly
|
||||
if (import.meta.main) {
|
||||
runAllExamples()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -357,4 +357,4 @@ export async function runRealExamples() {
|
|||
// Run if executed directly
|
||||
if (import.meta.main) {
|
||||
runRealExamples()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -449,4 +449,4 @@ async function runManualTests() {
|
|||
// If this file is run directly, execute manual tests
|
||||
if (import.meta.main) {
|
||||
runManualTests()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -631,4 +631,4 @@ describe.skipIf(!shouldRunIntegration)(
|
|||
})
|
||||
})
|
||||
},
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -995,4 +995,4 @@ describe("withSupermemory", () => {
|
|||
expect(enhanced.outputProcessors).toHaveLength(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -60,4 +60,4 @@ describe("OpenAI middleware memory context", () => {
|
|||
content.match(/<supermemory context="user-memories" readonly>/g),
|
||||
).toHaveLength(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -196,4 +196,4 @@ async function testMemoryTool() {
|
|||
}
|
||||
|
||||
// Run the tests
|
||||
testMemoryTool().catch(console.error)
|
||||
testMemoryTool().catch(console.error)
|
||||
|
|
|
|||
|
|
@ -45,4 +45,4 @@ describe("VoltAgent memory context", () => {
|
|||
content.match(/<supermemory context="user-memories" readonly>/g),
|
||||
).toHaveLength(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -618,4 +618,5 @@ describe("Unit: withSupermemory", () => {
|
|||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@
|
|||
"declarationMap": true
|
||||
},
|
||||
"exclude": ["node_modules", "dist", "test/chatapp"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue