feat: rewrite user journey documentation and enhance input file handling in responses
This commit is contained in:
1 parent
3da1b93c39
commit
15d4b207cc
9 files changed
+276
-32
No files matched your search
@@ -37,7 +37,7 @@ describe('proxyInputFileResolver', () => {
|
||||
expect(getProxyFileByPublicIdForOwnerMock).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('resolves object-form responses input payloads with local file ids', async () => {
|
||||
it('resolves object-form responses input payloads with local file ids into inline-only uploads', async () => {
|
||||
getProxyFileByPublicIdForOwnerMock.mockResolvedValue({
|
||||
publicId: 'file-metapi-123',
|
||||
filename: 'brief.pdf',
|
||||
@@ -69,7 +69,6 @@ describe('proxyInputFileResolver', () => {
|
||||
content: [
|
||||
{
|
||||
type: 'input_file',
|
||||
file_id: 'file-metapi-123',
|
||||
filename: 'brief.pdf',
|
||||
file_data: `data:application/pdf;base64,${Buffer.from('%PDF-local').toString('base64')}`,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user