Skip to content

Commit

Permalink
Merge pull request #47 from meta-d/develop
Browse files Browse the repository at this point in the history
Fix: langgraph version bug
  • Loading branch information
meta-d authored Aug 17, 2024
2 parents de934fb + 6865b62 commit 3965902
Show file tree
Hide file tree
Showing 21 changed files with 7,449 additions and 57,118 deletions.
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

0 comments on commit 3965902

Please sign in to comment.