-
Notifications
You must be signed in to change notification settings - Fork 3.3k
apps__create_app - Invalid type error when creating app #8028
Description
Description:
Encountering a type parsing error when using the apps__create_app tool to create HTML/JavaScript apps.
Error Message:
invalid type: string "600", expected u32
Steps to Reproduce:
Call apps__create_app with any PRD/description
LLM returns response with a value like "600" in string format
Type validation fails
Expected Behavior:
The tool should accept numeric values (either as string or integer) and properly handle type conversion.
Actual Behavior:
System expects u32 type but receives string format (e.g., "600"), causing parsing error.
Environment:
Goose framework
Tool: apps__create_app
LLM integration
Additional Context:
The error suggests a type mismatch in the response handling. Possible causes:
Tool returns string "600" instead of integer 600
Schema validation is too strict
Type casting issue in the Goose framework
Suggested Fix:
Add type coercion logic to handle both string and numeric values for u32 fields in the apps__create_app response handling.