Skip to content

[Feat/#81] 공지·행사 답변에 상세 화면 링크 붙이기 - #82

Merged
overhyeon merged 9 commits into
mainfrom
feat/#81-source-links
Nov 17, 2026
Merged

overhyeon merged 9 commits into
mainfrom
feat/#81-source-links

Conversation

@overhyeon

Copy link
Copy Markdown
Contributor

#️⃣연관된 이슈

close #81, close #67

선행: #73 (#72). sync.py가 #73에서 생겨서 그 브랜치 위에 쌓았어요. 그래서 base를 feat/#72-index-refresh로 두었어요. #73이 머지되면 base를 main으로 바꿔요.

📝작업 내용

공지·행사를 근거로 답하면 답변 끝에 그 공지·행사 상세 화면으로 가는 링크를 붙여요. 그 밖의 답변에는 출처 줄을 아예 붙이지 않아요. 링크도 없는 출처 줄은 번잡하기만 해서예요.

답변 근거 출처 줄
공지 출처: [사물함 추가 신청 안내](/notices/11) (2026-11-14)
행사 출처: [2026 소융대 해커톤](/events/3) (2026-11-10)
시드·FAQ·아카이빙·열린피드백 없음
재고·내 대여·내 사물함 도구 없음 (#80에도 같은 변경이 있어요)
  • sync.py: 공지의 출처URL은 /notices/{id}, 행사는 /events/{id}로 채워요.
    • stream-client-web 라우트(/notices/:noticeId, /events/:eventId)와 같아요.
    • 도메인은 넣지 않아요. dev와 운영 주소가 달라도 그대로 쓸 수 있어요.
  • app.py: 참고 문서에 링크가 비어 있으면 링크: 없음으로 적어요. 모델이 빈 링크로 출처 줄을 만들지 않게 하려는 거예요.
  • prompts/system_v2.md:
    • 출처 규칙을 바꿨어요. 링크가 있는 문서만 마크다운 링크로 적고, 주소는 지어내지 않아요.
    • 줄 앞 >도 없앴어요. #68은 이 PR에 합치고 닫아요.
  • AGENTS.md: 답변 규칙과 SSE 계약에 링크 형식을 적었어요.

프론트 수정이 필요해요. 지금 말풍선은 **굵게**만 처리해서, 링크가 눌리지 않는 글자로 보여요. stream-client-web에 별도 PR로 올릴게요.

확인한 것

가짜 내부 API(공지 1, 행사 1, 아카이빙 1)로 인덱스를 갱신한 뒤, 실제 모델(gpt-oss-120b)로 질문했어요.

질문 출처 줄
해커톤 언제 어디서 해? [2026 소융대 해커톤](/events/3) ✅
사물함 추가 신청 언제야? [사물함 추가 신청 안내](/notices/11) ✅
우산 어떻게 빌려? (시드) 없음 ✅
우산 지금 남았어? (도구) 없음 ✅
작년 슬랑제 어디서 했어? (아카이빙) 없음 ✅

💬리뷰 요구사항(선택)

  • @seungbye 프롬프트 출처 규칙(3번)이 바뀌었어요. #77과 같은 파일이라 머지 순서에 따라 충돌을 정리해야 할 수 있어요.

@overhyeon overhyeon self-assigned this Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2e19bf74-a57f-4c54-a38c-46fdbe52136d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@seungbye seungbye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

승인할게요 👍

  • 링크가 없는 문서는 링크: 없음으로 적어서 모델이 빈 링크를 만들지 못하게 한 거 좋아요
  • 도메인 없이 /notices/{id}만 넣어서 dev·운영 주소가 달라도 그대로 쓸 수 있는 것도 좋아요
  • 프롬프트 3번 규칙은 #77과 같은 파일이지만 고친 줄이 달라서 충돌은 안 날 것 같아요

머지 시점

  • 프론트 stream-client-web#230이 아직 OPEN이에요. 이 PR만 먼저 배포되면 말풍선에 [제목](/notices/11)이 날 글자로 보여요. #230과 같이 나가도록 맞춰 주세요
  • #73 위에 쌓여 있어서 #73 머지 → base를 main으로 바꾼 뒤 머지할게요

@overhyeon
overhyeon changed the base branch from feat/#72-index-refresh to main November 17, 2026 11:47
# Conflicts:
#	prompts/system_v2.md
#	sync.py
@overhyeon
overhyeon merged commit 3089d65 into main Nov 17, 2026
1 check passed
@overhyeon
overhyeon deleted the feat/#81-source-links branch November 17, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

공지·행사 답변에 상세 화면 링크 붙이기 챗봇 출처 줄 앞에 > 기호가 그대로 보이는 문제

2 participants