René's URL Explorer Experiment


Title: fix: filter image_url content from API messages for DeepSeek compatibility by dengmik-commits · Pull Request #51 · lessweb/deepcode-cli · GitHub

Open Graph Title: fix: filter image_url content from API messages for DeepSeek compatibility by dengmik-commits · Pull Request #51 · lessweb/deepcode-cli

X Title: fix: filter image_url content from API messages for DeepSeek compatibility by dengmik-commits · Pull Request #51 · lessweb/deepcode-cli

Description: Summary DeepSeek API 不支持 image_url 消息内容类型,当消息中包含图片时(粘贴剪贴板图片、Read 工具读取图片文件)会报 400 错误。此修复在发送 API 请求前过滤掉 image_url 类型的内容部分,只保留文本。 Changes src/session.ts - 在构建 API 消息时跳过 type === "image_url" 的内容块 Before Request failed: 400 Failed to deserialize the JSON body into the target type: messages[58]: unknown variant image_url After 图片消息仍存储在本地会话中(UI 正常显示 📎),但不发送给 DeepSeek API。 Fixes #50

Open Graph Description: Summary DeepSeek API 不支持 image_url 消息内容类型,当消息中包含图片时(粘贴剪贴板图片、Read 工具读取图片文件)会报 400 错误。此修复在发送 API 请求前过滤掉 image_url 类型的内容部分,只保留文本。 Changes src/session.ts - 在构建 API 消息时跳过 type === "image_url"...

X Description: Summary DeepSeek API 不支持 image_url 消息内容类型,当消息中包含图片时(粘贴剪贴板图片、Read 工具读取图片文件)会报 400 错误。此修复在发送 API 请求前过滤掉 image_url 类型的内容部分,只保留文本。 Changes src/session.ts - 在构建 API 消息时跳过 type === "image_url&a...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/51

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:11bcdec0-c0d1-26af-c85f-8187adcb23d4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF08:143958:B9691A:10FA482:6A4E23A7
html-safe-nonce9ae43027f60e50451e0bf21b40c734960729425988ebbc5fde2afdeccaf359a2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjA4OjE0Mzk1ODpCOTY5MUE6MTBGQTQ4Mjo2QTRFMjNBNyIsInZpc2l0b3JfaWQiOiI2NTcwMjk3MDk4Mzg5ODI0NDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac856d025463dcb9a9dd5730f26575cb08ebfd81f6d176a5a339bb6b1d18f9d300
hovercard-subject-tagpull_request:3674241831
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/51/files
twitter:imagehttps://avatars.githubusercontent.com/u/270912164?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/270912164?s=400&v=4
og:image:altSummary DeepSeek API 不支持 image_url 消息内容类型,当消息中包含图片时(粘贴剪贴板图片、Read 工具读取图片文件)会报 400 错误。此修复在发送 API 请求前过滤掉 image_url 类型的内容部分,只保留文本。 Changes src/session.ts - 在构建 API 消息时跳过 type === "image_url"...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5fe497b4815fcce3df76c0e246faa739a82c3124
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/51/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F51%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F51%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/51/files
Reloadhttps://github.com/lessweb/deepcode-cli/pull/51/files
Reloadhttps://github.com/lessweb/deepcode-cli/pull/51/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/51/files
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 152 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 43 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose
qorzjhttps://github.com/qorzj
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
dengmik-commits:mainhttps://github.com/dengmik-commits/deepcode-cli/tree/main
Conversation 1 https://github.com/lessweb/deepcode-cli/pull/51
Commits 3 https://github.com/lessweb/deepcode-cli/pull/51/commits
Checks 0 https://github.com/lessweb/deepcode-cli/pull/51/checks
Files changed https://github.com/lessweb/deepcode-cli/pull/51/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/51/files
fix: filter image_url content from API messages for DeepSeek compatibility https://github.com/lessweb/deepcode-cli/pull/51/files#top
Show all changes 3 commits https://github.com/lessweb/deepcode-cli/pull/51/files
d2ee59c fix: filter image_url content from API messages for DeepSeek compatib… dengmik-commits May 13, 2026 https://github.com/lessweb/deepcode-cli/pull/51/commits/d2ee59c16a4e35de1fc90f6e661132436a5fe5e3
1dfe446 Merge remote-tracking branch 'upstream/main' dengmik-commits May 14, 2026 https://github.com/lessweb/deepcode-cli/pull/51/commits/1dfe44670d93107e9e02ba60f199e16e864840b2
5e23d3c Merge branch 'main' of https://github.com/lessweb/deepcode-cli dengmik-commits May 14, 2026 https://github.com/lessweb/deepcode-cli/pull/51/commits/5e23d3c5a157d2d4fba26978d0412d4f02c928bd
Clear filters https://github.com/lessweb/deepcode-cli/pull/51/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/51/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/51/files
src/session.tshttps://github.com/lessweb/deepcode-cli/pull/51/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
View file https://github.com/dengmik-commits/deepcode-cli/blob/5e23d3c5a157d2d4fba26978d0412d4f02c928bd/src/session.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/51/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/51/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
https://github.com/lessweb/deepcode-cli/pull/51/files#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.