-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
area:toolsRelates to tool usageRelates to tool usagekind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
Error Details
Model: GPT-OSS
Provider: ollama
Status Code: N/A
Error Output
This change ensures the weight field accepts decimal numbers (e.g., `70.5`) and restricts input to a valid numeric format, preventing parsing errors when saving the member.', err=invalid character '`' looking for beginning of value {"error":"error parsing tool call: raw='```python lib/features/members/add_edit_member_page.dart\n// --- modify lines 203-207\n AppTextField(\n label: 'Weight (kg)',\n controller: _weightController,\n // Use numberWithOptions to allow decimal values\n keyboardType:\n const TextInputType.numberWithOptions(decimal: true),\n // Optional: allow only digits and a single decimal point\n inputFormatters: [\n FilteringTextInputFormatter.allow(RegExp(r'^\\d \\.%3F\\d{0,2}')),\n ],\n ),\n```\n\nThis change ensures the weight field accepts decimal numbers (e.g., `70.5`) and restricts input to a valid numeric format, preventing parsing errors when saving the member.', err=invalid character '`' looking for beginning of value"}
Additional Context
Please add any additional context about the error here
Metadata
Metadata
Assignees
Labels
area:toolsRelates to tool usageRelates to tool usagekind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Type
Projects
Status
Todo