MCPcopy Index your code
hub / github.com/coder/coder / seedChatDependencies

Function seedChatDependencies

coderd/x/chatd/chatd_test.go:6053–6060  ·  view source on GitHub ↗
(
	t *testing.T,
	db database.Store,
)

Source from the content-addressed store, hash-verified

6051}
6052
6053func 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

Calls 3

OpenAIFunction · 0.92
HelperMethod · 0.65

Tested by

no test coverage detected