AI integration (OD-2651)
Robin Shen opened 5 days ago

This integration can help codebase understanding, CI/CD spec editing, build failure investigation, and pull request review.

  • OneDev commented 5 days ago

    State changed as code fixing the issue is committed (2619abc1)

  • OneDev changed state to 'Closed' 5 days ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 days ago

    State changed as build OD-6953 is successful

  • OneDev changed state to 'Released' 3 days ago
    Previous Value Current Value
    Closed
    Released
  • pulsatedivision commented 2 days ago

    @robin Is there documentation on this feature?

  • Robin Shen commented 2 days ago

    I am writing a tutorial on this.

  • jbauer commented 14 hours ago

    @pulsatedivision You have to create a user with type AI and then allow that user to access projects. Then you can assign it to a PR reviewer for example.

    @robin I noticed two things (I used OpenAI API key):

    1. For PR review I am seeing timeouts when using GPT-5.1, most likely because it does some thinking. It happens in DefaultUserService:599 when a code review comment should be created. I guess you either need longer timeouts or make it configurable (and possibly make thinking amount configurable for thinking models).
    2. I first selected GPT-5.1-cortext during AI user configuration but it does not support the older /v1/chat/completions API that langchain4j uses. Maybe there is a way to filter the OpenAI models to only show the ones that actually work with the library. See: https://github.com/langchain4j/langchain4j/issues/3252
issue 1/1
Type
New Feature
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (4)
Reference
OD-2651
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover