Skip to content

Error: GPT-OSS - Unknown error #10025

@Dhruv-Creator-De-Pal

Description

@Dhruv-Creator-De-Pal

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 usagekind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions