add for debugging
This commit is contained in:
parent
82132d57aa
commit
f18724104c
@ -21,7 +21,7 @@ import json
|
|||||||
from prompts.claude_prompts import VIDEO_PROMPT
|
from prompts.claude_prompts import VIDEO_PROMPT
|
||||||
from prompts.types import Stack
|
from prompts.types import Stack
|
||||||
|
|
||||||
# from utils import pprint_prompt
|
from utils import pprint_prompt
|
||||||
from video.utils import extract_tag_content, assemble_claude_prompt_video
|
from video.utils import extract_tag_content, assemble_claude_prompt_video
|
||||||
from ws.constants import APP_ERROR_WEB_SOCKET_CODE # type: ignore
|
from ws.constants import APP_ERROR_WEB_SOCKET_CODE # type: ignore
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ async def stream_code(websocket: WebSocket):
|
|||||||
video_data_url = params["image"]
|
video_data_url = params["image"]
|
||||||
prompt_messages = await assemble_claude_prompt_video(video_data_url)
|
prompt_messages = await assemble_claude_prompt_video(video_data_url)
|
||||||
|
|
||||||
# pprint_prompt(prompt_messages) # type: ignore
|
pprint_prompt(prompt_messages) # type: ignore
|
||||||
|
|
||||||
if SHOULD_MOCK_AI_RESPONSE:
|
if SHOULD_MOCK_AI_RESPONSE:
|
||||||
completion = await mock_completion(
|
completion = await mock_completion(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user