Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdk-python/pyproject.toml
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "tinyhumansai"
version = "0.5.5"
version = "0.5.6"
description = "Python SDK for Neocortex API by TinyHumans - ingest and delete memory with human context"
readme = "README.md"
license = {text = "MIT"}
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-typescript/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tinyhumansai/neocortex",
"version": "0.1.3",
"version": "0.1.4",
"description": "TypeScript SDK for TinyHumans Neocortex API - insert, query, delete, recall",
"type": "module",
"main": "dist/index.js",
Expand Down
6 changes: 1 addition & 5 deletions packages/sdk-typescript/src/index.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -391,11 +391,7 @@ export class TinyHumansMemoryClient {
params: InsertMemoryParams,
): Promise<InsertMemoryResponse> {
this.validateInsertParams(params);
return this.post<InsertMemoryResponse>("/memory/insert", {
...params,
// Backend commonly accepts snake_case too; send both for compatibility.
document_id: params.documentId,
});
return this.post<InsertMemoryResponse>("/memory/insert", params);
}

/** Query memory via RAG. POST /memory/query */
Expand Down