| 4 | type AiProvider = 'openai' | 'eigenai'; |
| 5 | |
| 6 | interface ExampleServiceOptions { |
| 7 | apiKey?: string; |
| 8 | baseUrl?: string; |
| 9 | defaultHeaders?: Record<string, string>; |
| 10 | provider: AiProvider; |
| 11 | payToAddress: string; |
| 12 | network: string; |
| 13 | model?: string; |
| 14 | temperature?: number; |
| 15 | maxTokens?: number; |
| 16 | seed?: number; |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * ExampleService - A sample service implementation using an OpenAI-compatible API |
nothing calls this directly
no outgoing calls
no test coverage detected