genkit
genkit copied to clipboard
Create a stateful session class and adapt Gemini to it
- Create a Session like it is defined in the JS code;
- Adapt VertexAI Gemini to it
- (Optional) Adapt other sources (it might be pure Gemini, Ollama, OpenAI) to use the Session class.
It shouldn't be done for the alpha version.