Skip to content

Commit

Permalink
fixed some things
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSmith committed Aug 7, 2024
1 parent 0e963c8 commit 76950f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/backend/tools/minimap.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ def run(self, query: str) -> str:

# Rename id to doc_id
for result in results:
result['doc_id'] = result.pop('id')
try:
result['doc_id'] = result.get('id')
except Exception as ex:
...

return results

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/coral_web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY .env.production .

# Build the Next.js app
ARG NODE_ENV=development
RUN if [ "$NODE_ENV" = "production" ]; then npm run build; else npm run build:dev; fi
RUN if [ "$NODE_ENV" = "production" ]; then npm run build; fi


# Next.js collects completely anonymous telemetry data about general usage. Learn more here: https://nextjs.org/telemetry
Expand Down

0 comments on commit 76950f1

Please sign in to comment.