Skip to content

Commit c7baff2

Browse files
committedMar 7, 2025··
fix apply config
1 parent 5ee2631 commit c7baff2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
 

‎.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
dami
2-
.idea
2+
.idea
3+
4+
webpage/node_modules

‎internal/ai/openai.go

+2
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@ func (o *OpenAI) CallAISingle(message string) (string, error) {
6363
aiResp = strings.TrimFunc(aiResp, func(r rune) bool {
6464
return r == ' ' || r == '\n' || r == '"' || r == '\''
6565
})
66+
aiResp = strings.ReplaceAll(aiResp, "```json", "")
67+
aiResp = strings.ReplaceAll(aiResp, "```", "")
6668
return aiResp, nil
6769
}

‎webpage/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@
3636
"last 1 safari version"
3737
]
3838
},
39-
"proxy": "http://192.168.10.26:9090"
39+
40+
"proxy": "http://127.0.0.1:9090"
4041
}

0 commit comments

Comments
 (0)
Please sign in to comment.