Minimal structural interface for an OpenAI-compatible chat client (an openai
SDK OpenAI instance satisfies it, as examples/local-extraction.ts type-checks),
injected so actrone-memory needs no hard openai dependency. The roles are
the literal ones the extractor sends: the SDK's message types reject a plain
string role, which made a real client fail to compile here.
Minimal structural interface for an OpenAI-compatible chat client (an
openaiSDKOpenAIinstance satisfies it, as examples/local-extraction.ts type-checks), injected soactrone-memoryneeds no hardopenaidependency. The roles are the literal ones the extractor sends: the SDK's message types reject a plainstringrole, which made a real client fail to compile here.