.conversations().models() was returning a union type that wasn't overloaded on the id param it accepts similar to other methods in the Typesense client.
.conversations().models().retrieve() was returning an incorrect type as { models: ConversationModelSchema[] } but from my tests it actually just returns an array of the model schemas.
Change Summary
Fixed following TypeScript related issues:
.conversations().models()
was returning a union type that wasn't overloaded on theid
param it accepts similar to other methods in the Typesense client..conversations().models().retrieve()
was returning an incorrect type as{ models: ConversationModelSchema[] }
but from my tests it actually just returns an array of the model schemas.PR Checklist