This commit is contained in:
Tibor Bossanyi 2023-02-20 00:28:29 +01:00
parent cb90c3d68a
commit d086fc1f36
4 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
Workout Test and Diet 4 You Common Util Functions
Version 1.0.8
mombership model error fix
Version 1.0.7
openai with model name and temperature

View File

@ -26,7 +26,7 @@ class _MyAppState extends State<MyApp> {
void _fetchData() async {
var api = OpenAIApi();
String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?");;
String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?");
setState(() {
_response = response;
});
@ -51,7 +51,7 @@ class _MyAppState extends State<MyApp> {
),
Text(
_response,
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.headlineMedium,
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,

View File

@ -17,7 +17,7 @@ class Membership {
durationUnit = json['durationUnit'];
durationType = json['durationType'];
trainingPlanId = json['trainingPlanId'] ?? 0;
trainingPlanDayIds = json['trainingPlanDayIds'] ?? 0;
trainingPlanDayIds = json['trainingPlanDayIds'] ?? "";
}
Map<String, dynamic> toJson() => {

View File

@ -1,6 +1,6 @@
name: workouttest_util
description: Workout Test app and web functions.
version: 1.0.7
version: 1.0.8
homepage:
environment: