Add tool to get current commit info in addition to commit patch in commit detail page #2748
jbauer opened 2 months ago

With 15.0.1 I noticed that the AI chat in the commit UI does not work anymore.

Asking "what does this commit?" results in an answer telling me it needs the commit hash or other information to answer the request. I also removed the system prompt from the user but no difference.

Model is Mistral.ai devstral-2512

Looks like it does not like to call tools anymore.

  • Robin Shen commented 2 months ago

    Not actually a regression bug. OneDev only provides commit diff tool, so you may ask "what does the commit do" instead.

    Neverthess, will add a getCurrentCommitInfo tool to answer questions for commit itself.

  • Robin Shen changed title 2 months ago
    Previous Value Current Value
    Commit UI: Ai Chat does not call tool to get commit contents
    Add tool to get current commit info in commit detail page
  • Robin Shen changed fields 2 months ago
    Name Previous Value Current Value
    Type
    Bug
    Improvement
  • Robin Shen changed title 2 months ago
    Previous Value Current Value
    Add tool to get current commit info in commit detail page
    Add tool to get current commit info in addition to commit patch in commit detail page
  • OneDev commented 2 months ago

    State changed as build OD-7309 (15.0.3) is successful

  • OneDev changed state to 'Closed' 2 months ago
    Previous Value Current Value
    Open
    Closed
1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2748
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover