Skip to content

Commit

Permalink
Merge pull request #16 from telekom/lkl_dev2
Browse files Browse the repository at this point in the history
Adapt Licensing and  Packege Version
  • Loading branch information
mohdamir authored Nov 4, 2024
2 parents af44d54 + 38e35e0 commit a5badfb
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
4 changes: 4 additions & 0 deletions helpers/proxy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Deutsche Telekom AG, LlamaIndex, Vercel, Inc.
//
// SPDX-License-Identifier: MIT

/* Function to conditionally load the global-agent/bootstrap module */
export async function initializeGlobalAgent() {
if (process.env.GLOBAL_AGENT_HTTP_PROXY) {
Expand Down
4 changes: 4 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions scripts/build.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
REM SPDX-FileCopyrightText: 2024 Deutsche Telekom AG, LlamaIndex, Vercel, Inc.
REM
REM SPDX-License-Identifier: MIT

@echo off

rem Build dist/index.js file
Expand Down
4 changes: 4 additions & 0 deletions scripts/pack.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
REM SPDX-FileCopyrightText: 2024 Deutsche Telekom AG, LlamaIndex, Vercel, Inc.
REM
REM SPDX-License-Identifier: MIT

pnpm pack
for /f %%i in ('dir /b /s *.tgz') do set "package=%%i"
npm install -g %package%
4 changes: 2 additions & 2 deletions templates/types/streaming/fastapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ python = "^3.11,<3.12"
fastapi = "^0.109.1"
uvicorn = { extras = ["standard"], version = "^0.23.2" }
python-dotenv = "^1.0.0"
llama-index = "0.10.15"
llama-index-core = "0.10.15"
llama-index = "0.10.68"
llama-index-core = "0.10.68"
llama-index-agent-openai = "0.1.5"
llama-index-llms-openai-like="^0.1.3"

Expand Down
4 changes: 4 additions & 0 deletions types/global-agent.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Deutsche Telekom AG, LlamaIndex, Vercel, Inc.
//
// SPDX-License-Identifier: MIT

/*types/global-agent.d.ts */
declare module "global-agent/bootstrap" {
const anyType: any;
Expand Down

0 comments on commit a5badfb

Please sign in to comment.