Skip to content
代码片段 群组 项目
  • Sincheol (David) Kim's avatar
    bd2fd428
    Use custom ResponseBodyParser · bd2fd428
    Sincheol (David) Kim 创作于
    Nokogiri is stripping reserved XML characters like `&` and `<` which we
    don't want as we need to display them as is within the code suggestion.
    Since LLM's response isn't a strict XML, we don't need to worry about
    stripping them out and just use a custom parser.
    
    Also, it handles a few more edge cases such as multiple code suggestions
    in single comment and handling <from> <to> tags inside of the code
    suggestion.
    未验证
    bd2fd428
    历史
    Use custom ResponseBodyParser
    Sincheol (David) Kim 创作于
    Nokogiri is stripping reserved XML characters like `&` and `<` which we
    don't want as we need to display them as is within the code suggestion.
    Since LLM's response isn't a strict XML, we don't need to worry about
    stripping them out and just use a custom parser.
    
    Also, it handles a few more edge cases such as multiple code suggestions
    in single comment and handling <from> <to> tags inside of the code
    suggestion.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。