()
| 37 | } |
| 38 | |
| 39 | override getModel() { |
| 40 | const id = this.options.apiModelId ?? poeDefaultModelId |
| 41 | const cached = getModelsFromCache({ |
| 42 | provider: "poe", |
| 43 | apiKey: this.options.poeApiKey, |
| 44 | baseUrl: this.options.poeBaseUrl, |
| 45 | }) |
| 46 | const info: ModelInfo = cached?.[id] ?? getPoeDefaultModelInfo() |
| 47 | return { id, info } |
| 48 | } |
| 49 | |
| 50 | override async *createMessage( |
| 51 | systemPrompt: string, |
no test coverage detected