Skip to content

Commit f36dfe6

Browse files
committed
add log to file search
1 parent 7dd6908 commit f36dfe6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/server/routes/prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ promptRouter.post('/', async (req, res) => {
185185
if (potentialConflicts.some((p) => p.name === promptParams.name)) {
186186
throw ApplicationError.Conflict('Prompt name already exists')
187187
}
188-
console.log(promptParams)
188+
189189
const newPrompt = await Prompt.create(promptParams)
190190

191191
res.status(201).send(newPrompt)

src/server/util/azure/ResponsesAPI.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export class ResponsesClient {
146146
}
147147

148148
case 'response.file_search_call.in_progress': {
149+
logger.info('File search', { user: this.user.username, model: this.model, ragIndexName: this.ragIndex?.metadata.name })
149150
this.write(
150151
{
151152
type: 'fileSearchStarted',

0 commit comments

Comments
 (0)