nomic-ai / ts-nomic

Typescript bindings for Atlas
MIT License
4 stars 4 forks source link

fix: user constructor from viewer #69

Closed RLesser closed 2 months ago

RLesser commented 2 months ago

Classes derived from AtlasBaseClass should be initializable using an AtlasViewer. Because AtlasUser overrode the base constructor, we lost the ability to do this. This re-adds the ability to construct an AtlasUser from an AtlasViewer, while preserving the legacy object based initialization.


:rocket: This description was created by Ellipsis for commit 1dc5c890bae80f6bccf3ef4451a6aa024482d272

Summary:

This PR updates the AtlasUser constructor to accept an AtlasViewer instance, restoring functionality and adding corresponding tests.

Key points:


Generated with :heart: by ellipsis.dev

RLesser commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RLesser and the rest of your teammates on Graphite Graphite