typia
typia copied to clipboard
feat: modify typia.llm.application non-object error message
Change Error Message by #1555
eg. before
{
"code": "typia.llm.application",
"message": "unsupported type detected\n\n- PickNotionServicegetDatabaseInfo.getDatabaseInfo: unknown\n - LLM application's function (\"getDatabaseInfo\")'s parameter must be an object type.",
"name": "Error"
}
eg. after
{
"code": "typia.llm.application",
"message": "unsupported type detected\n\n- PickNotionServicegetDatabaseInfo.getDatabaseInfo: unknown\n - LLM application's function (\"getDatabaseInfo\")'s parameter must be an object type. Union types (e.g., string | object) are not supported.",
"name": "Error"
}
Should I also add a test case for the error being thrown?