Claude Agent SDK 이미지 첨부 지원 프롬프트
Wikiprompt, 무료 프롬프트 백과사전에서
Claude Agent SDK 이미지 첨부 지원 프롬프트 햇살 가득한 절벽 길이 키 큰 황금빛 풀 사이로 구불구불 이어진다. 아래로
프롬프트 내용저장
🌐
1. Replace the current send message component with {参考代码文件1}
2. Reference the async send(prompt: string, attachments?: AttachmentData[], includeSelection?: boolean) from {参考代码文件2} and the export const composeUserContent = (text: string, attachments?: AttachmentData[], selection?: SelectionSnapshot | null) from {参考代码文件3} to implement attachment handling
3. After clicking send, convert attachments to base64 strings and send them to the websocket
4. Reference the code below to rewrite the message handling part of ccsdk/ai-client.ts so that it supports sending attachments
{官方文档示例代码docs.claude.com/en/api/agent-sdk/streaming-vs-single-mode}
Please think carefully and then execute
전체 프롬프트를 보려면 로그인하세요
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
사용법
이 프롬프트는 coding와 함께 사용하도록 설계되었습니다. 위의 프롬프트 내용을 복사하여 원하는 AI 도구에 붙여넣으세요.
최상의 결과를 얻으려면 자리 표시자(대괄호 또는 대문자로 표시)를 특정 요구 사항으로 사용자 지정할 수 있습니다.
토론
댓글 0개