(url)
| 560 | return result.content; |
| 561 | } catch (error) { |
| 562 | return `Error: ${error.message}. Using simulated response instead: This is a fallback response since the API call failed.`; |
| 563 | } |
| 564 | } |
| 565 | |
| 566 | async _generateSessionTitle(prompt, sessionId, options = {}) { |
| 567 | const normalizedPrompt = this.extractTextContent(prompt) |
| 568 | .replace(/\s+/g, ' ') |
| 569 | .trim() |
nothing calls this directly
no outgoing calls
no test coverage detected