Skip to content

Commit

Permalink
stop clearing file search
Browse files Browse the repository at this point in the history
  • Loading branch information
ydamit committed Nov 21, 2024
1 parent 7718115 commit 3fffbf2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/infrastructure/server/gateway/openai-agent-gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export default class OpenAIAgentGateway implements AgentGatewayOutputPort<TOpenA
});
const researchContextExternalID = generateRCExternalIDFromOpenAIAssistantID(openaiAgent.id);

await this.openai.beta.assistants.update(openaiAgent.id, {
tool_resources: {
file_search: {},
},
});
// await this.openai.beta.assistants.update(openaiAgent.id, {
// tool_resources: {
// file_search: {},
// },
// });

this.logger.info({ openaiAgent }, "Agent created");
return {
Expand Down

0 comments on commit 3fffbf2

Please sign in to comment.