(model: string)
| 170 | } |
| 171 | |
| 172 | function isOSModel(model: string): boolean { |
| 173 | return Boolean( |
| 174 | process.env.NEXT_PUBLIC_OS_MODEL && |
| 175 | model === JSON.parse(process.env.NEXT_PUBLIC_OS_MODEL).id, |
| 176 | ); |
| 177 | } |
| 178 | |
| 179 | function getLLMRequestChat( |
| 180 | messages: ChatGPTMessage[], |
no outgoing calls
no test coverage detected