createPhindProvider function
Create a Phind provider with default settings
Implementation
PhindProvider createPhindProvider({
required String apiKey,
String model = 'Phind-70B',
String baseUrl = 'https://https.extension.phind.com/agent/',
double? temperature,
int? maxTokens,
String? systemPrompt,
}) {
final config = PhindConfig(
apiKey: apiKey,
model: model,
baseUrl: baseUrl,
temperature: temperature,
maxTokens: maxTokens,
systemPrompt: systemPrompt,
);
return PhindProvider(config);
}