(fields = {})
| 778 | } |
| 779 | |
| 780 | function buildAuthStatus(fields = {}) { |
| 781 | return { |
| 782 | available: true, |
| 783 | loggedIn: false, |
| 784 | detail: "not authenticated", |
| 785 | source: "unknown", |
| 786 | authMethod: null, |
| 787 | verified: null, |
| 788 | requiresOpenaiAuth: null, |
| 789 | provider: null, |
| 790 | ...fields |
| 791 | }; |
| 792 | } |
| 793 | |
| 794 | function resolveProviderConfig(configResponse) { |
| 795 | const config = configResponse?.config; |
no outgoing calls
no test coverage detected