Skip to content

Commit

Permalink
feat(lightspeed): create proxy to redirect all /v1/* requests to llm …
Browse files Browse the repository at this point in the history
…server other than /v1/query (#2274)

* add proxy to v1 endpoints

Signed-off-by: Stephanie <yangcao@redhat.com>

* fix yarn lock

Signed-off-by: Stephanie <yangcao@redhat.com>

* add todo

Signed-off-by: Stephanie <yangcao@redhat.com>

* fix test dependency

Signed-off-by: Stephanie <yangcao@redhat.com>

---------

Signed-off-by: Stephanie <yangcao@redhat.com>
  • Loading branch information
yangcao77 authored Oct 3, 2024
1 parent a0b8999 commit e6a1968
Show file tree
Hide file tree
Showing 6 changed files with 665 additions and 234 deletions.
2 changes: 2 additions & 0 deletions plugins/lightspeed-backend/dist-dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"@types/express": "^*",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"http-proxy-middleware": "^3.0.2",
"node-fetch": "^2.6.7",
"supertest": "6.3.4",
"yn": "^4.0.0"
},
"devDependencies": {},
Expand Down
Loading

0 comments on commit e6a1968

Please sign in to comment.