MaxiDonkey
MaxiDonkey
Hello and thank you for your feedback, This error is expected given the code snippet you provided. To resolve it, apply the following changes: #### 1. Import the Gemini units...
Hi SofttouchCode, After testing your code in `Delphi CE (version 12.1)`, I did not encounter the compilation error you mentioned. Could you please pinpoint the exact line or section of...
Thanks for the suggestion I’m keeping the wrapper 100% UI-agnostic (no VCL or FMX in the core) to ensure: - Separation of concerns: API logic ≠ UI. - Portability &...
Honestly, we should have started with that and just told me I’d made a blunder ;) I’ve removed the VCL.Dialogs unit, which definitely didn’t belong in MistralAI.Files.pas, and fixed the...
Thank you for your suggestion! The library is already designed to be cross-platform. All the main units (System.Net.*, System.SysUtils, etc.) are supported on Android and iOS, and any Windows-specific dependencies...
Thank you for your feedback. The README is designed as a step-by-step tutorial that guides the user from start to finish, enabling them to build an application while acquiring all...
Hi, Here’s a working Delphi console example, based on how the DeepSeek wrapper exposes Chat.Create. The idea is to call Chat.Create, receive a TChat object, then iterate through its Choices...
```Delphi ... Params.Messages([ FromSystem('You are a funny domestic assistant.'), FromUser('Hello'), FromAssistant('Great to meet you. What would you like to know?'), FromUser('I have two dogs in my house. How many paws...
You must maintain a history of queries and responses in a list, then reconstruct the parameter array using the FromUser and FromAssistant methods. Because the API does not handle interaction...
To enable automatic multi-turn handling, you must call OpenAI’s v1/responses endpoint, supplying the ID of the previous response to preserve conversational context. This capability lies outside the scope of the...