diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-16 21:48:29 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-21 13:42:02 +0200 |
| commit | cc07f7a186995f428436bc1adc66a264a95171a4 (patch) | |
| tree | 52b69ced5d4fdb400199e95136725bfdff5cd3ef /internal/llm/tools/shell | |
| parent | bbfa60c787f2ec459f1689b9a650ddbec9693ed9 (diff) | |
| download | opencode-cc07f7a186995f428436bc1adc66a264a95171a4.tar.gz opencode-cc07f7a186995f428436bc1adc66a264a95171a4.zip | |
rename to opencode
Diffstat (limited to 'internal/llm/tools/shell')
| -rw-r--r-- | internal/llm/tools/shell/shell.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/llm/tools/shell/shell.go b/internal/llm/tools/shell/shell.go index 4a776478a..e25bdf3ea 100644 --- a/internal/llm/tools/shell/shell.go +++ b/internal/llm/tools/shell/shell.go @@ -126,10 +126,10 @@ func (s *PersistentShell) execCommand(command string, timeout time.Duration, ctx } tempDir := os.TempDir() - stdoutFile := filepath.Join(tempDir, fmt.Sprintf("termai-stdout-%d", time.Now().UnixNano())) - stderrFile := filepath.Join(tempDir, fmt.Sprintf("termai-stderr-%d", time.Now().UnixNano())) - statusFile := filepath.Join(tempDir, fmt.Sprintf("termai-status-%d", time.Now().UnixNano())) - cwdFile := filepath.Join(tempDir, fmt.Sprintf("termai-cwd-%d", time.Now().UnixNano())) + stdoutFile := filepath.Join(tempDir, fmt.Sprintf("opencode-stdout-%d", time.Now().UnixNano())) + stderrFile := filepath.Join(tempDir, fmt.Sprintf("opencode-stderr-%d", time.Now().UnixNano())) + statusFile := filepath.Join(tempDir, fmt.Sprintf("opencode-status-%d", time.Now().UnixNano())) + cwdFile := filepath.Join(tempDir, fmt.Sprintf("opencode-cwd-%d", time.Now().UnixNano())) defer func() { os.Remove(stdoutFile) |
