Remove unused codes (#15579)

### What problem does this PR solve?

Remove unused code.

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-06-03 17:35:36 +08:00
committed by GitHub
parent b363146997
commit 2061edd308
9 changed files with 7 additions and 442 deletions

View File

@@ -442,15 +442,6 @@ func (r *Router) Setup(engine *gin.Engine) {
chunk.POST("/update", r.chunkHandler.UpdateChunk) // Internal API only for GO
}
// LLM routes
llm := authorized.Group("/v1/llm")
{
llm.GET("/my_llms", r.llmHandler.GetMyLLMs)
llm.GET("/factories", r.llmHandler.Factories)
llm.GET("/list", r.llmHandler.ListApp)
llm.POST("/set_api_key", r.llmHandler.SetAPIKey)
}
// Chat routes
chat := authorized.Group("/v1/dialog")
{