Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: solve 401 error when searching and update dependencies #58

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading