Merge up/main

This commit is contained in:
cyhhao
2026-01-10 21:57:57 +08:00
174 changed files with 22729 additions and 496 deletions

View File

@@ -455,6 +455,10 @@ func getOpenCodeCodexHeader() string {
return getOpenCodeCachedPrompt(opencodeCodexHeaderURL, "opencode-codex-header.txt", "opencode-codex-header-meta.json")
}
func GetOpenCodeInstructions() string {
return getOpenCodeCodexHeader()
}
func filterCodexInput(input []any) []any {
filtered := make([]any, 0, len(input))
for _, item := range input {