Skip to content

add references to ChatReferenceBinaryData - #238516

Merged
Justin Chen (justschen) merged 11 commits into
microsoft:mainfrom
justschen:justin/golem
Jan 23, 2025
Merged

add references to ChatReferenceBinaryData #238516
Justin Chen (justschen) merged 11 commits into
microsoft:mainfrom
justschen:justin/golem

Conversation

@justschen

Copy link
Copy Markdown
Collaborator

@justschen
Justin Chen (justschen) marked this pull request as ready for review January 23, 2025 00:50
@vs-code-engineering

Copy link
Copy Markdown
Contributor

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically. Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting /AzurePipelines run.

Comment thread src/vs/workbench/contrib/chat/browser/chatInputPart.ts Outdated
Comment thread src/vs/workbench/contrib/chat/browser/chatInputPart.ts Outdated
Comment thread src/vs/workbench/contrib/chat/browser/chatInputPart.ts
}

if (/\.(png|jpg|jpeg|bmp|gif|tiff)$/i.test(editor.resource.path)) {
if (/\.(png|jpg|jpeg|gif|webp)$/i.test(editor.resource.path)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove bmp and tiff?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CAPI doesn't supports BMP and TIFF atm, but now suppports webp

@justschen
Justin Chen (justschen) merged commit 23d0bf7 into microsoft:main Jan 23, 2025
Henry (HD787) pushed a commit to HD787/vscode that referenced this pull request Jan 24, 2025
* add reference to binary data api

* remove comment

* fix tests

* fix tests try microsoft#2

* more testing

* commenting out for testing

* add back history filter

* add under isimage check

* some fixes

* make sure to dispose
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants