remove base64 encoding logic for attachment data.. SDK expects an unencoded buffer
Issue #, if available:
n/a
Description of changes:
Resolves discrepancies observed with attachment processing when comparing slack bot with web console experience. The SDK expects an unencoded buffer object for attachment.data. Previous we were sending an encoded string value, causing the content was encoded twice, which was confusing the LLM.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
remove base64 encoding logic for attachment data.. SDK expects an unencoded buffer
Issue #, if available: n/a
Description of changes:
Resolves discrepancies observed with attachment processing when comparing slack bot with web console experience. The SDK expects an unencoded buffer object for attachment.data. Previous we were sending an encoded string value, causing the content was encoded twice, which was confusing the LLM.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.