(provider string)
| 202 | } |
| 203 | |
| 204 | func apiKeyEnv(provider string) string { |
| 205 | switch provider { |
| 206 | case "openai": |
| 207 | return "OPENAI_API_KEY" |
| 208 | case "anthropic": |
| 209 | return "ANTHROPIC_API_KEY" |
| 210 | default: |
| 211 | return "" |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | func cmdClear(_ string) { |
| 216 | rootAgent.ClearMessages() |
no outgoing calls
no test coverage detected