OpenAI를 활용한 나만의 AI 에이전트 만들기 (Agent Builder, GPT-5, Chatkit, Cloudflare, MCP, Fine Tuning, CoT 등)
다른 수강자 답변으로 달아주신 내용으로 진행해도 빌드에러가 나네요,, 에러는 다음과 같습니다. 2026-07-23T11:18:49.730273Z Cloning repository... 2026-07-23T11:18:50.368416Z From https://github.com/ykcho-sys/openai-chatkit-starter-app 2026-07-23T11:18:50.36871Z * branch ff735b20c151ce66bdc2847a8050d807483a8b82 -> FETCH_HEAD 2026-07-23T11:18:50.368796Z 2026-07-23T11:18:50.386756Z HEAD is now at ff735b2 Add files via upload 2026-07-23T11:18:50.386975Z 2026-07-23T11:18:50.430186Z 2026-07-23T11:18:50.430517Z Using v2 root directory strategy 2026-07-23T11:18:50.442575Z Success: Finished cloning repository files 2026-07-23T11:18:52.037942Z Checking for configuration in a Wrangler configuration file (BETA) 2026-07-23T11:18:52.038327Z 2026-07-23T11:18:52.174064Z No Wrangler configuration file found. Continuing. 2026-07-23T11:18:52.43705Z Detected the following tools from environment: nodejs@22.22.0, npm@10.9.2 2026-07-23T11:18:52.437473Z Installing nodejs 22.22.0 2026-07-23T11:18:53.206123Z Trying to update node-build... ok 2026-07-23T11:18:53.257603Z To follow progress, use 'tail -f /tmp/node-build.20260723111853.799.log' or pass --verbose 2026-07-23T11:18:53.299865Z Downloading node-v22.22.0-linux-x64.tar.gz... 2026-07-23T11:18:53.425752Z -> https://nodejs.org/dist/v22.22.0/node-v22.22.0-linux-x64.tar.gz 2026-07-23T11:18:56.367721Z 2026-07-23T11:18:56.368031Z WARNING: node-v22.22.0-linux-x64 is in LTS Maintenance mode and nearing its end of life. 2026-07-23T11:18:56.368121Z It only receives critical security updates, critical bug fixes and documentation updates. 2026-07-23T11:18:56.368191Z 2026-07-23T11:18:56.368268Z Installing node-v22.22.0-linux-x64... 2026-07-23T11:18:56.803215Z Installed node-v22.22.0-linux-x64 to /opt/buildhome/.asdf/installs/nodejs/22.22.0 2026-07-23T11:18:56.803575Z 2026-07-23T11:18:57.426449Z Installing project dependencies: npm clean-install --progress=false 2026-07-23T11:19:13.796845Z 2026-07-23T11:19:13.797222Z added 341 packages, and audited 342 packages in 16s 2026-07-23T11:19:13.797336Z 2026-07-23T11:19:13.797641Z 139 packages are looking for funding 2026-07-23T11:19:13.797826Z run npm fund for details 2026-07-23T11:19:13.955605Z 2026-07-23T11:19:13.956084Z 10 vulnerabilities (2 moderate, 6 high, 2 critical) 2026-07-23T11:19:13.956195Z 2026-07-23T11:19:13.956243Z To address all issues, run: 2026-07-23T11:19:13.95629Z npm audit fix 2026-07-23T11:19:13.956349Z 2026-07-23T11:19:13.956391Z Run npm audit for details. 2026-07-23T11:19:14.030591Z Executing user command: npx @cloudflare/next-on-pages@1 2026-07-23T11:19:14.711456Z npm warn exec The following package was not found and will be installed: @cloudflare/next-on-pages@1.13.16 2026-07-23T11:19:17.079863Z npm error code ERESOLVE 2026-07-23T11:19:17.080221Z npm error ERESOLVE unable to resolve dependency tree 2026-07-23T11:19:17.080302Z npm error 2026-07-23T11:19:17.08036Z npm error While resolving: undefined@undefined 2026-07-23T11:19:17.081724Z npm error Found: @cloudflare/workers-types@4.20260702.1 2026-07-23T11:19:17.081835Z npm error node_modules/@cloudflare/workers-types 2026-07-23T11:19:17.081892Z npm error peerOptional @cloudflare/workers-types@"^4.20240208.0" from @cloudflare/next-on-pages@1.13.16 2026-07-23T11:19:17.082Z npm error node_modules/@cloudflare/next-on-pages 2026-07-23T11:19:17.082047Z npm error @cloudflare/next-on-pages@"1.13.16" from the root project 2026-07-23T11:19:17.082085Z npm error 2026-07-23T11:19:17.08212Z npm error Could not resolve dependency: 2026-07-23T11:19:17.082171Z npm error peerOptional @cloudflare/workers-types@"^5.20260721.1" from wrangler@4.113.0 2026-07-23T11:19:17.082214Z npm error node_modules/wrangler 2026-07-23T11:19:17.082246Z npm error peer wrangler@"^3.28.2 || ^4.0.0" from @cloudflare/next-on-pages@1.13.16 2026-07-23T11:19:17.082318Z npm error node_modules/@cloudflare/next-on-pages 2026-07-23T11:19:17.082381Z npm error @cloudflare/next-on-pages@"1.13.16" from the root project 2026-07-23T11:19:17.082416Z npm error 2026-07-23T11:19:17.082454Z npm error Fix the upstream dependency conflict, or retry 2026-07-23T11:19:17.082493Z npm error this command with --force or --legacy-peer-deps 2026-07-23T11:19:17.082535Z npm error to accept an incorrect (and potentially broken) dependency resolution. 2026-07-23T11:19:17.082567Z npm error 2026-07-23T11:19:17.082597Z npm error 2026-07-23T11:19:17.082639Z npm error For a full report see: 2026-07-23T11:19:17.082705Z npm error /opt/buildhome/.npm/_logs/2026-07-23T11_19_14_182Z-eresolve-report.txt 2026-07-23T11:19:17.082791Z npm error A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2026-07-23T11_19_14_182Z-debug-0.log 2026-07-23T11:19:17.106609Z Failed: Error while executing user command. Exited with error code: 1 2026-07-23T11:19:17.112055Z Failed: build command exited with code: 1 2026-07-23T11:19:17.646247Z Failed: error occurred while running build command
[질문 내용] SumTask의 run()메서드 안 for문에서 result += i;를 하지 않고 지역변수인 sum을 사용하여 마지막에 result = sum을 하신 이유가 지역변수(sum)는 스택영역, 멤버변수(result)는 힙 영역에 관리되어, 매번 메인 메모리에 있는 result의 값을 변경하는 것이 아닌 cpu 코어의 캐시 메모리를 사용하는 것이 더 빨라서일까요?
────── 강사님 안녕하세요, 질좋은 강의 제공 감사드립니다. 다름이 아니라, 23강에서 네모 사이트의 상업용 부동산 데이터를 모으고 분석하는 과정중에, '서브 에이전트를 활용하여 pptx, word, xls, 대시보드를 생성'하는 부분에서 기존에 claud anthropic에서 다운받았던 스킬을 사용하는것이 아닌것 같습니다. 아래와 같이 터미널에 뜹니다. 이전 강의에서 듣기론, rule->skill이 액션이 있기전에 미리 자동 적용되는것이라고 배운것 같은데 혹시 이부분 어떻게 하면 될까요? 감사합니다, ### 🔄 2. 서브에이전트 오케스트레이션 실행 단계 • Step 1 [진행중]: office_document_builder 서브에이전트 호출 (ID: 88609d46-1647-42a2-9623-052f22d7c191) • nemo_realestate 프로젝트에 대해 .docx, .pptx, .xlsx, .html 4종 문서 생성 스크립트 구축 및 구동 • Step 2 [예정]: 생성 완료 메시지 수신 즉시 document_verifier_healer 서브에이전트 자동 호출 ➔ 정량 무결성 검증 및 자가치유 보완 실행 ┃ office_document_builder needs approval for Create
강의 내용 중에 a = 'Park' if a == 'Kim' 라고 하셨는데요. 그런데 예제 파일에서는 'Park'이라고 되어 있어요. try: a = 'Park' if a == 'Park': print('OK! Pass!') else: raise ValueError except ValueError: print('Occurred! Exception!') else: print('Ok! else!')
45강 강의 10분 03초 내용에서 x + 1 을 하는 이유는 뭔가요? Kim 을 첫 번째 호출했을 때 1이 나오게 하려고 하는 건가요? 아니면 Kim이 가지고 있는 index를 1로 설정해 주기 위한 건가요? print('{} Found it! {} in name'.format(z, x + 1))
안녕하세요. 001강과 마찬가지로 002강에서도 Gradio 실행 시 에러 뜹니다.. 어떻게 해결해야할까요? ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_ impl.py ", line 422, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/middleware/proxy_ headers.py ", line 63, in call return await self.app (scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/ applications.py ", line 1163, in call await super().__call__(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/ applications.py ", line 90, in call await self.middleware_stack(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 186, in call raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 164, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain env/lib/python3.11/site-packages/gradio/route_ utils.py ", line 761, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ exceptions.py ", line 63, in call await wrap_app_handling_exceptions( self.app , conn)(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 53, in wrapped_app raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 42, in wrapped_app await app(scope, receive, sender) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/middleware/ asyncexitstack.py ", line 18, in call ... File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/jinja2/ utils.py ", line 515, in getitem rv = self._mapping[key] ~~~~~~~~~~~~~^^^^^ TypeError: unhashable type: 'dict' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings... Running on local URL: http://127.0.0.1:7862 ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_ impl.py ", line 422, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/middleware/proxy_ headers.py ", line 63, in call return await self.app (scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/ applications.py ", line 1163, in call await super().__call__(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/ applications.py ", line 90, in call await self.middleware_stack(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 186, in call raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 164, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain env/lib/python3.11/site-packages/gradio/route_ utils.py ", line 761, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ exceptions.py ", line 63, in call await wrap_app_handling_exceptions( self.app , conn)(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 53, in wrapped_app raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 42, in wrapped_app await app(scope, receive, sender) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/middleware/ asyncexitstack.py ", line 18, in call ... File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/jinja2/ utils.py ", line 515, in getitem rv = self._mapping[key] ~~~~~~~~~~~~~^^^^^ TypeError: unhashable type: 'dict' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
안녕하세요, 강의 내용대로 Gradio를 이용하여 인터페이스를 실행하려는데 아래와 같이 ASGI application 에러가 발생하며 서버가 정상 동작하지 않습니다. 어떡해야할까요? ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_ impl.py ", line 422, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/middleware/proxy_ headers.py ", line 63, in call return await self.app (scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/ applications.py ", line 1163, in call await super().__call__(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/ applications.py ", line 90, in call await self.middleware_stack(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 186, in call raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 164, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain env/lib/python3.11/site-packages/gradio/route_ utils.py ", line 761, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ exceptions.py ", line 63, in call await wrap_app_handling_exceptions( self.app , conn)(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 53, in wrapped_app raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 42, in wrapped_app await app(scope, receive, sender) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/middleware/ asyncexitstack.py ", line 18, in call ... File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/jinja2/ utils.py ", line 515, in getitem rv = self._mapping[key] ~~~~~~~~~~~~~^^^^^ TypeError: unhashable type: 'dict' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings... Running on local URL: http://127.0.0.1:**** ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_ impl.py ", line 422, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/uvicorn/middleware/proxy_ headers.py ", line 63, in call return await self.app (scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/ applications.py ", line 1163, in call await super().__call__(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/ applications.py ", line 90, in call await self.middleware_stack(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 186, in call raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ errors.py ", line 164, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain env/lib/python3.11/site-packages/gradio/route_ utils.py ", line 761, in call await self.app (scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/middleware/ exceptions.py ", line 63, in call await wrap_app_handling_exceptions( self.app , conn)(scope, receive, send) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 53, in wrapped_app raise exc File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/starlette/_exception_ handler.py ", line 42, in wrapped_app await app(scope, receive, sender) File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/fastapi/middleware/ asyncexitstack.py ", line 18, in call ... File "/opt/anaconda3/envs/langchain_env/lib/python3.11/site-packages/jinja2/ utils.py ", line 515, in getitem rv = self._mapping[key] ~~~~~~~~~~~~~^^^^^ TypeError: unhashable type: 'dict' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...