frontend: API 엔드포인트 및 폴링 설정 업데이트#1
Open
anggla01301 wants to merge 9 commits into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- .dockerignore에 .env 추가 (보안) - .env.example 환경변수명 통일 및 누락 변수 추가 - Dockerfile에 TypeScript 빌드 단계 추가 - package.json main 필드 추가 및 ESM 호환 스크립트 수정 - nos_job_def 이미지명 및 환경변수 수정 - frontend: API 엔드포인트 주석 통일, 응답 파싱 정규식 버그 수정 - frontend/server.js CORS 헤더 추가 - src/index.ts 모델 기본값 및 에러 메시지 개선 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 프롬프트 다양화: 토큰 목록 포함, 랜덤 오프닝 스타일, 상투어 금지 - max_tokens 200 → 350으로 증가 - 캐릭터 시스템 프롬프트에 ROAST_WALLET 액션 강제 지시 추가 - 프론트엔드 재시도 시 새 세션 생성으로 변경 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- src/index.ts를 프로젝트 엔트리포인트로 변경해 ROAST_WALLET 액션 등록 - package.json start 스크립트에서 --character 플래그 제거 - frontend/app.js: REST 폴링 → POST 응답에서 roast 직접 추출 - frontend/index.html: socket.io 클라이언트 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- frontend/server.js: /api, /socket.io 요청을 ElizaOS(3000)로 프록시 - frontend/app.js: localhost:3000 하드코딩 → 상대경로로 변경 - Dockerfile: bun 설치 추가, 프론트엔드 서버 실행 추가 - nosana_job.json: expose 8080으로 변경 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
frontend: API 엔드포인트 및 폴링 설정 업데이트