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: langgraph version bug #47

Merged
merged 7 commits into from
Aug 17, 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 .deploy/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COPY --chown=node:node packages/adapter/package.json ./packages/adapter/
COPY --chown=node:node packages/analytics/package.json ./packages/analytics/

COPY --chown=node:node .deploy/api/package.json ./
COPY --chown=node:node ./package-lock.json ./
COPY --chown=node:node yarn.lock ./

RUN npm install --legacy-peer-deps

Expand Down
10 changes: 6 additions & 4 deletions .deploy/api/package-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
"@langchain/community": "0.2.20",
"@langchain/core": "0.2.18",
"@langchain/langgraph": "0.0.31",
"@langchain/ollama": "^0.0.2",
"@langchain/openai": "0.2.4",
"@langchain/ollama": "0.0.4",
"@langchain/openai": "0.2.4",
"@nestjs/common": "^8.0.0",
"@nestjs/core": "^8.0.0",
"@nestjs/platform-express": "^8.0.0",
"@swc/helpers": "~0.5.0",
"idb-keyval": "^6.0.2",
"immer": "^10.0.1",
"langchain": "0.2.10",
"money-clip": "^3.0.5",
"reflect-metadata": "^0.1.13",
Expand All @@ -31,5 +30,8 @@
},
"workspaces": [
"packages/*"
]
],
"resolutions": {
"@langchain/core": "0.2.18"
}
}
10 changes: 6 additions & 4 deletions .deploy/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
"@langchain/community": "0.2.20",
"@langchain/core": "0.2.18",
"@langchain/langgraph": "0.0.31",
"@langchain/ollama": "^0.0.2",
"@langchain/openai": "0.2.4",
"@langchain/ollama": "0.0.4",
"@langchain/openai": "0.2.4",
"@nestjs/common": "^8.0.0",
"@nestjs/core": "^8.0.0",
"@nestjs/platform-express": "^8.0.0",
"@swc/helpers": "~0.5.0",
"idb-keyval": "^6.0.2",
"immer": "^10.0.1",
"langchain": "0.2.10",
"money-clip": "^3.0.5",
"reflect-metadata": "^0.1.13",
Expand Down Expand Up @@ -57,5 +56,8 @@
"workspaces": [
"apps/*",
"packages/*"
]
],
"resolutions": {
"@langchain/core": "0.2.18"
}
}
5 changes: 4 additions & 1 deletion .deploy/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@langchain/community": "0.2.20",
"@langchain/core": "0.2.18",
"@langchain/langgraph": "0.0.31",
"@langchain/ollama": "^0.0.2",
"@langchain/ollama": "0.0.4",
"@langchain/openai": "0.2.4",
"@microsoft/fetch-event-source": "^2.0.1",
"@ng-matero/extensions": "^13.1.0",
Expand Down Expand Up @@ -193,6 +193,9 @@
"libs/*",
"packages/*"
],
"resolutions": {
"@langchain/core": "0.2.18"
},
"nx": {
"includedScripts": []
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ import {
IFilter,
isEqual,
negate,
TimeRangeType
TimeRangeType,
Indicator as OCAPIndicator,
} from '@metad/ocap-core'
import { withProps } from '@ngneat/elf'
import { TranslateModule, TranslateService } from '@ngx-translate/core'
Expand Down Expand Up @@ -104,7 +105,7 @@ export class IndicatorRegisterComponent extends TranslationBaseComponent impleme
readonly dirtyCheckResult = dirtyCheckWith(this.store, this.pristineStore, { comparator: negate(isEqual) })
readonly dirty = this.dirtyCheckResult.dirty

readonly indicator = toSignal(this.store.pipe(distinctUntilChanged(isEqual)))
readonly indicator = toSignal<Indicator>(this.store.pipe(distinctUntilChanged(isEqual)))

readonly loading = signal(false)
readonly projectSignal = this.projectService.project
Expand Down Expand Up @@ -132,7 +133,7 @@ export class IndicatorRegisterComponent extends TranslationBaseComponent impleme
// } as undefined as DataSettings & { error?: string }
// }
const { dimension, hierarchy, level } = getIndicatorEntityCalendar(
indicator,
indicator as OCAPIndicator,
entityType,
timeGranularity
)
Expand Down
Loading