AI 도구의 이름 필드 검증

After creating a new tool in Discourse AI I came upon the following error:

Job exception: {
  "error": {
    "message": "Invalid 'tools[0].function.name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.",
    "type": "invalid_request_error",
    "param": "tools[0].function.name",
    "code": "invalid_value"
  }
}

I had spaces in the name, which I replaced with underscores to match the pattern. :+1:

If that is expected, could we validate that field in the UI? We may also mention it in the descriptive text for that field.

3개의 좋아요

지금은 검증 기능이 추가된 것 같은데, 확인해 줄 수 있어?

1개의 좋아요

도구 이름 필드가 검증되고 있습니다. :tada:

3개의 좋아요