( t *testing.T, db database.Store, )
| 6051 | } |
| 6052 | |
| 6053 | func seedChatDependencies( |
| 6054 | t *testing.T, |
| 6055 | db database.Store, |
| 6056 | ) (database.User, database.Organization, database.ChatModelConfig) { |
| 6057 | t.Helper() |
| 6058 | openAIURL := chattest.OpenAI(t) |
| 6059 | return seedChatDependenciesWithProvider(t, db, "openai", openAIURL) |
| 6060 | } |
| 6061 | |
| 6062 | // seedChatDependenciesWithProvider creates a user, organization, |
| 6063 | // chat provider, and model config for the given provider type and |
no test coverage detected