Skip to content

B4: GetChatSuggestions — 对话建议 #16

Open

Description

@lijinhan

难度:低 | 价值:中 | 依赖:A2

Proto 结构:

  • Request: GetChatSuggestionsRequest{RecentChats []*RecentChat}
  • Response: GetChatSuggestionsResponse{Suggestions []*ChatSuggestionItem}

实现:

  • 新建 internal/agent/chat_suggestions.go
  • 基于最近对话 → "建议3个后续问题" prompt → collectSingleResponse() → 解析 JSON 数组
  • 路由: /aiserver.v1.AiService/GetChatSuggestions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions