Skip to content

Commit

Permalink
fix: solve 401 error when searching and update dependencies (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten authored May 28, 2024
1 parent 13b99df commit 23dd218
Show file tree
Hide file tree
Showing 7 changed files with 8,240 additions and 5,655 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . .
RUN pnpm build

FROM alpine:3.14 as weaviate
ARG WEAVIATE_VERSION=1.24.8
ARG WEAVIATE_VERSION=1.25.1
WORKDIR /app
RUN wget https://github.com/weaviate/weaviate/releases/download/v${WEAVIATE_VERSION}/weaviate-v${WEAVIATE_VERSION}-linux-amd64.tar.gz && \
tar -xzf weaviate-v${WEAVIATE_VERSION}-linux-amd64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- '8080'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.24.8
image: cr.weaviate.io/semitechnologies/weaviate:1.25.1
ports:
- 8080:8080
restart: on-failure:0
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@
"drizzle-kit": "^0.20.14",
"esbuild": "^0.20.2",
"esbuild-plugin-copy": "^2.1.1",
"nuxt": "^3.11.1",
"nuxt": "^3.11.2",
"prettier": "^3.2.5",
"tsx": "^4.7.1",
"typescript": "^5.1.6",
"vue-tsc": "^1.8.27"
"typescript": "^5.4.5",
"vue-tsc": "^2.0.19"
},
"dependencies": {
"@gitbeaker/core": "^40.0.3",
"@gitbeaker/rest": "^40.0.3",
"@langchain/community": "^0.0.41",
"@langchain/openai": "^0.0.23",
"@langchain/weaviate": "^0.0.1",
"@langchain/community": "^0.2.2",
"@langchain/openai": "^0.0.33",
"@langchain/weaviate": "^0.0.4",
"better-sqlite3": "^9.4.3",
"consola": "^3.2.3",
"drizzle-orm": "^0.30.4",
"glob": "^10.3.10",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^4.0.0",
"langchain": "^0.1.28",
"langchain": "^0.2.2",
"nuxt-icon": "^0.6.10",
"octokit": "^3.1.2",
"simple-git": "^3.23.0",
Expand Down
4 changes: 3 additions & 1 deletion pages/repos/add.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<div class="flex flex-col w-full rounded-md">
<div v-if="!selectedForge" class="mx-auto mt-8">Select a forge first.</div>

<div v-else-if="loadingRepos" class="mx-auto mt-8">Loading repositories ...</div>
<div v-else-if="!repositories || repositories.length === 0" class="mx-auto mt-8">No repository found</div>

<div
Expand Down Expand Up @@ -126,6 +126,7 @@ const { data: repositories, pending: loadingRepos } = await useAsyncData(
search: search.value,
perPage: 5,
},
credentials: 'include',
});
return repos;
Expand All @@ -139,6 +140,7 @@ const { data: repositories, pending: loadingRepos } = await useAsyncData(
},
{
watch: [search, selectedForge],
server: false,
},
);
Expand Down
Loading

0 comments on commit 23dd218

Please sign in to comment.