(name string)
| 671 | } |
| 672 | |
| 673 | func testAIProvider(name string) database.AIProvider { |
| 674 | return database.AIProvider{ |
| 675 | ID: uuid.New(), |
| 676 | Type: database.AIProviderType(name), |
| 677 | Name: name, |
| 678 | DisplayName: sql.NullString{String: name, Valid: true}, |
| 679 | Enabled: true, |
| 680 | CreatedAt: time.Unix(0, 0).UTC(), |
| 681 | UpdatedAt: time.Unix(0, 0).UTC(), |
| 682 | } |
| 683 | } |
| 684 | |
| 685 | func testChatModelConfig(id uuid.UUID, model string) database.ChatModelConfig { |
| 686 | return database.ChatModelConfig{ |
no test coverage detected