Skip to content

Commit bdda16c

Browse files
committed
deploy
1 parent 71f2292 commit bdda16c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

deploy/embber.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ spec:
114114
spec:
115115
containers:
116116
- name: codebase-embedder
117-
image: zgsm/codebase-embedder:v0.0.21
117+
image: zgsm/codebase-embedder:v0.0.23
118118
imagePullPolicy: IfNotPresent
119119
command:
120120
- /app/server

internal/store/vector/weaviate_wrapper.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -982,11 +982,6 @@ func (r *weaviateWrapper) InsertCodeChunks(ctx context.Context, docs []*types.Co
982982
Content: "",
983983
}
984984

985-
// 如果配置中启用了FetchSourceCode,则存储Content
986-
if r.cfg.FetchSourceCode {
987-
properties[Content] = string(c.Content)
988-
}
989-
990985
// 如果配置中启用了StoreSourceCode,则存储源码
991986
if r.cfg.StoreSourceCode {
992987
properties[Content] = string(c.Content)

0 commit comments

Comments
 (0)