Commit Graph
549 Commits
Author SHA1 Message Date
kimandClaude Sonnet 5.5 62c4eae8a3 음성 엔진: 음성 종류 설정(voice.engine.ttsVoice) — 여/남/어린이/노인 등 음성 디자인 + 기준 음성 파일 고정으로 문장 간 음색 일관
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 16:40:27 +09:00
kimandClaude Sonnet 5.5 3db0545207 음성 엔진: 낭독 배속을 설정(voice.engine.ttsSpeed, 0.8~1.4, 기본 1.15)으로 조절 가능
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 16:34:17 +09:00
kimandClaude Sonnet 5.5 edfa1460cd 가드 문구 완화: 못 찾았다/사과/다른 곳 확인하세요 대신 가장 가까운 값+날짜 한 문장(추정 금지·숫자 근거 검사는 유지)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 00:13:27 +09:00
kimandClaude Sonnet 5.5 7a39528d58 가드가 초안을 버리고 재생성할 때 draft_reset SSE를 보내 화면·음성 낭독에서 초안 제거(초안+재작성본 이중 낭독 수정)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 23:59:29 +09:00
kimandClaude Sonnet 5.5 f811c6bc59 음성: 평균 확률 0.12 미만 환각 인식 폐기, 유가·금리·환율 hotword + '국제 육관→유가' 규칙, 되묻기를 행동 약속으로 오판해 엉뚱한 사과를 내던 ACTION-PROMISE 가드 수정
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 23:40:20 +09:00
kimandClaude Sonnet 5.5 16c4ba2c0f pubmed_search: exclude_paper_types(RCT 제외 등) 추가
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 21:33:48 +09:00
kimandClaude Sonnet 5.5 328dbf14e5 채팅: pubmed_search에 치과 저널(journals)·논문 종류(paper_types) 필터 추가 — 저널 목록을 tools/dental-journals.ts로 공용화해 앱과 채팅이 같은 목록 사용
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 21:22:17 +09:00
kimandClaude Sonnet 5.5 30d5ba3f35 화자 확인: 계정별 프로필(.smallclaw/voice/speaker_profiles/<user>.npy) — 게이트웨이가 세션 계정을 X-HC-User로 전달(클라이언트 값은 버림), 등록 상태는 연결별
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 18:08:20 +09:00
kimandClaude Sonnet 5.5 0c833e05bd 음성 통화: 화자 확인 1단계 — speechbrain ECAPA 임베딩으로 발화별 유사도(spk_sim)를 확신도 로그에 기록(차단 없음) + 통화바 '목소리 등록' 버튼
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 18:06:25 +09:00
kimandClaude Sonnet 5.5 5c15fbb53b 음성 인식: 최종 인식마다 단어별 확신도를 .smallclaw/logs/stt-confidence.jsonl에 기록(낮은 확률 단어 목록 포함)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 17:55:12 +09:00
kimandClaude Sonnet 5.5 b1abe5912c 채팅: 한영 전환 실수 보정(dkssud→안녕, ㅗ디ㅣㅐ→hello) — 보수적 판정으로 변환문을 모델에 전달하고 info로 안내
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 17:34:35 +09:00
kimandClaude Sonnet 5.5 01400a064f 번역 세션(translate-*): AUTO-RECOVER·모델 라우팅 제외 + 마법사 번역은 모델 선택창과 무관(서버 기본 모델)
논문 속 숫자에 unverified-spec 가드가 걸려 5,500자 번역을 버리고 Opus로 2회 재생성(5분 $1.8)한 사고 대응.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 17:10:09 +09:00
kimandClaude Sonnet 5.5 e870c3c7ec weather_openmeteo: 국내 위치는 거부하고 weather_kma로 안내(예외: days>10·hours>240 장기 구간) — 국내 예보는 기상청 단기+중기로 일원화
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 11:02:04 +09:00
kimandClaude Sonnet 5.5 61cfd7ce46 weather_kma 도구 설명: 4~10일 예보는 중기예보로 같이 나옴(openmeteo로 보내던 낡은 문구 정정)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 10:49:07 +09:00
kimandClaude Sonnet 5.5 aebe188ba8 반복호출 차단 안내문: 3일 넘는 국내 예보는 weather_kma가 중기예보(4~10일)까지 주므로 openmeteo로 보내지 않음
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 10:48:38 +09:00
kimandClaude Sonnet 5.5 51818cf846 weather_kma current: 이번 강수 사상이 없을 때 어제 일강수량(ASOS)을 한 줄 덧붙임 — 모델이 past를 이어 부르지 않던 문제
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 10:07:20 +09:00
kimandClaude Sonnet 5.5 0091ce000b 날씨: 이미 내린 비 질문을 weather_kma type=past(어제 등 관측 일강수량)로 보내는 힌트 — 과거 조회는 이미 있었고 모델이 안 쓰던 것
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 10:04:10 +09:00
kimandClaude Sonnet 5.5 e82198fa77 날씨: 이미 내린 비(이번 비 누적·어제 온 비)는 forecast가 아니라 current의 '이번 강수 누적'으로 답하게 힌트+도구 설명 보강
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 09:59:48 +09:00
kimandClaude Sonnet 5.5 a51d130b86 교통 CCTV: 고속도로(type=ex)도 함께 불러오기 — 국도(its)만 불러 인천이 5개뿐이던 문제(합치면 117개); 탭 이름 '고속도로·국도'
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 21:46:19 +09:00
kimandClaude Sonnet 5.5 73f5b0ddea STT hotwords: 용어·지명 사전(최대 40개)을 faster-whisper hotwords로 전달 — 벤치 CER 7.4%→3.7%, 속도 동일; 설정 voice.engine.sttHotwords로 재정의/off; stt-bench에 --prompt/--hotwords·지명 문장 추가
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 20:06:05 +09:00
kimandClaude Sonnet 5.5 94cdb3a283 음성 지명 확인: 모델이 무시하지 않도록 서버가 확인 질문으로 직접 턴을 끝냄
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:45:03 +09:00
kimandClaude Sonnet 5.5 a871a86ada 음성 입력의 날씨 지명이 주요 도시와 소리만 다르면(세월↔서울) 조회 전에 한 줄로 확인 — 자모 거리 1(또는 초성 동일 2), 지점표·실제 지명 제외, 직전에 같은 확인을 했으면 생략
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:41:30 +09:00
kimandClaude Sonnet 5.5 9289a8da73 음성 보정: 날씨 단어가 가까울 때만 '세월'→'서울' (세월호·세월이 흘러 등은 제외)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:38:54 +09:00
kimandClaude Sonnet 5.5 29965609e1 날씨 도구 게이트: '비가 많이 왔나'·'비 왔어' 같은 과거형 비 질문도 weather_kma 제공(없어서 web_search로 가던 문제)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:35:51 +09:00
kimandClaude Sonnet 5.5 7144862847 날씨 후속 힌트: history 끝에 현재 메시지가 이미 있어도 직전 날씨 질문을 찾도록
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:33:57 +09:00
kimandClaude Sonnet 5.5 b4b82d1e13 검색 포기 가드 재시도 지시에 '초안 언급 금지' 추가, Claude 검색 max_tokens 1800→3500 및 빈 답이어도 수수료 기록, 날씨 대화 중 장소 정정 응답(아니 서울)에 장소 재조회 힌트
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:32:03 +09:00
kimandClaude Sonnet 5.5 913807510b 날씨 후속 힌트: 'X까지 강수량'은 지금부터 X 끝까지의 누적(오늘 남은 비 포함)으로 답하도록
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:21:07 +09:00
kimandClaude Sonnet 5.5 f8f2589036 짧은 날씨 후속 질문 보정: '내일 가지'→'까지' 오타 해석, 지역이 없으면 직전 날씨 질문의 지역 이어받기(되묻기 방지)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 19:18:17 +09:00
kimandClaude Sonnet 5.5 5a1cc06c6e Claude 검색 비용 절감: 질문당 최대 검색 기본 3→2, 스마트 모드(맛집·레시피·뜻풀이·방법 같은 가벼운 질문은 Claude 검색 건너뛰고 무료 체인) + 설정 패널 사용 범위 선택
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 17:28:25 +09:00
kimandClaude Sonnet 5.5 21417078fc Anthropic 크레딧 소진·과부하(400 credit balance, 429/5xx) 시 지서버 로컬 올라마(ollama_local)로 자동 전환 — 30분(잔액)/3분(과부하) 뒤 재시도, 진행 중 턴도 한 번 재시도
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:55:19 +09:00
kimandClaude Sonnet 5.5 f53ca1aab9 Claude 검색 월 한도 0 = 무제한
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:51:10 +09:00
kimandClaude Sonnet 5.5 6c6245618f 숫자 근거 가드 재프롬프트: 사용자는 초안을 본 적 없으니 정정·초안·제거한 수치를 답에 언급하지 말도록 지시 (맛집 답이 '제 직전 답변에는 수치가…'로 시작하던 문제)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:47:41 +09:00
kimandClaude Sonnet 5.5 1cd5a83f9a 한국어 질문에 영어로 답하면 light 모델로 한국어 번역해 되돌리는 보정 + 시스템 프롬프트에 사용자 언어 규칙
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:44:12 +09:00
kimandClaude Sonnet 5.5 1610ff938c 올라마 직접 호출 제거: 보조 LLM 호출(기억 재순위·이미지 프롬프트 번역·논문 검색어 번역·검색 결과 요약·야간 기억 추출)을 활성 provider의 싼 모델(light-chat), 비전 호출은 활성 provider 기본 모델로; Haiku 5.5 기본 생각 끔(작은 max_tokens에서 본문이 비던 문제·속도·비용); model API에 fallback 설정 추가
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:34:09 +09:00
kimandClaude Sonnet 5.5 1427004d4b 올라마 검색은 활성 LLM이 올라마일 때만 사용(search.ollama_only_with_ollama_llm, 기본 켜짐) — 아니면 SearXNG+폴백 체인
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:23:06 +09:00
kimandClaude Sonnet 5.5 a4f20e7c32 web_search 채팅 경로(server.ts webSearch)에 Claude 자체 검색 1순위와 상위 페이지 본문 읽기를 연결 — 기존엔 executeWebSearchWithExtraction에만 있어 운영 채팅에서 본문 읽기가 한 번도 안 돌았음
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:19:33 +09:00
kimandClaude Sonnet 5.5 2871946d23 Claude 자체 웹 검색을 web_search 1순위 백엔드로(실패·한도 초과 시 기존 체인 자동 전환), 월 한도·질문당 검색 수 설정 패널, 검색 수수료($0.01/회)를 비용 추산에 합산
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:17:25 +09:00
kimandClaude Sonnet 5.5 3c9054830d 비용 패널: 기간 밖 모델(호출 0) 행 제외
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 22:39:59 +09:00
kimandClaude Sonnet 5.5 0a46e76065 사용 비용 추산 패널: 토큰 기록×공식 단가로 오늘/7일/월 지출과 모델별 표, 앤트로픽 콘솔 잔액 기준 추정 잔액·경고 (/api/usage/cost, /api/settings/billing)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 22:39:19 +09:00
kimandClaude Sonnet 5.5 dada30f32b Anthropic: 옛 모델(4.x) 목록·기본값·연결테스트를 5.5로 정리
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 22:32:59 +09:00
kimandClaude Sonnet 5.5 aab520648b Anthropic 어댑터: 토큰 사용량(이미지·캐시 포함)을 게이지/비용 기록에 반영, 도구 결과의 이미지를 Claude에 전달, 모델 목록에 5.5 추가
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 22:03:41 +09:00
kimandClaude Sonnet 5.5 3a258c534e 음성 인식 사후 보정: 고유어 명시 규칙 + 자모 편집거리 근사 매칭(stt-correct), 통화 최종문 보정 API, 음성 입력 턴 안내를 시스템 컨텍스트로 전달
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 21:36:51 +09:00
kimandClaude Sonnet 5.5 3e1e12726b 오케스트레이션 보조 제공자에 Anthropic(Claude) 추가(UI·자격 검사·비전 기본 지원)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 21:05:00 +09:00
kimandClaude Sonnet 5.5 820436ea21 라우팅: routing.provider를 기록하고 활성 provider와 같을 때만 라우팅(Anthropic 등 다른 provider에서도 hard_model 사용 가능), 설정 패널에 적용 provider 표시
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 21:02:59 +09:00
kimandClaude Sonnet 5.5 617ae12d57 provider 키 해석: anthropic/openai도 vault: 참조를 풀도록(google과 동일)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 20:45:41 +09:00
kimandClaude Sonnet 5.5 3c1018f33f Anthropic: Claude 5 계열에 temperature 미전송(400 방지), tool-bench G6 채점 보정(주입을 투명하게 보고한 답을 통과 처리)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 20:42:40 +09:00
kimandClaude Sonnet 5.5 46ead601ff 파일 첨부: CSV/텍스트/엑셀을 서버(uploads/)에 올리고 큰 파일은 미리보기+경로만 전달(컨텍스트·비용 보호), python_eval 안내 보강; OpenAI 호환 provider에서 tool 메시지 이미지를 user 메시지로 이동(Gemini 400 수정)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 19:59:37 +09:00
kimandClaude Sonnet 5.5 b2ebd9beec 구글 429 막힘을 모델별로 분리(3.6 Flash 429가 Flash-Lite로 번지지 않게), 기본 한도 500은 유지
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 19:50:03 +09:00
kimandClaude Sonnet 5.5 feeed87f47 구글 한도: 429 응답에서 대기시간·일일한도를 읽어 즉시 대체 모델로 전환(하드코딩 500회 가정 제거), 시스템 프롬프트에 현재 백엔드 모델명 주입
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 19:32:58 +09:00
kimandClaude Sonnet 5.5 396eaea309 검색 본문 읽기: Readability 기반 본문 추출기(메뉴·푸터 제거, 인코딩 처리, 표 줄바꿈 보존, 메뉴목록 판별) 적용
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 19:03:39 +09:00