MCPcopy
hub / github.com/xcanwin/KeepChatGPT / extractConversationModel

Function extractConversationModel

KeepChatGPT.user.js:2000–2006  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

1998 };
1999
2000 const extractConversationModel = function (message) {
2001 return (
2002 message?.metadata?.model_slug ||
2003 message?.metadata?.default_model_slug ||
2004 ""
2005 );
2006 };
2007
2008 const extractConversationIdFromUrl = function (requestUrl) {
2009 if (typeof requestUrl !== "string") {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected