Smritea

Changelog

Customer-facing changes to the Smritea SDKs, listed by version.

Ask AI about this page

This page lists the changes that affect code you write with a Smritea SDK. The entries cover the Python, TypeScript, Go, Java and C# SDKs.

0.1.14

  • search now sends scope.source_type in all five SDKs. Before this version, add sent it and search dropped it, so a search could not filter by where a memory came from. See Memory scope.
  • participant_ids accepts one or more IDs. The SDK no longer demands two or more.

Clients

  • Every SDK accepts your own HTTP client, so you can set a proxy, TLS options, timeouts or instrumentation. Without one, the SDK uses its default client.

The table shows how to pass your own HTTP client in each SDK.

SDKHow to pass it
Pythonhttp_client keyword, a urllib3.PoolManager
TypeScriptfetch field on SmriteaClientConfig
GoClientConfig.HTTPClient
JavaThe sixth constructor argument, an HttpClient
C#The sixth constructor parameter, an HttpClient
  • Python smritea.__version__ now reports the installed package version.

Java results

  • MemoryCreationResult gains getExplicitSkip and getExplainTrace, with public Trace, StageTrace and StepTrace types. Java now matches the other SDKs.

Licensing

  • All five SDK packages use the Apache-2.0 license. The Java and C# packages changed from MIT.

Last updated on