mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-04-19 03:57:26 +00:00
Merge up/main
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user