NanoGPT: Enable tool calling Closes #4930

0c8d74da029e51c0b55e745fa016a14304113970

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -1Ignore whitespace
public/index.html+1 -1
@@ -1974,7 +1974,7 @@
19741974 </b>
19751975 </div>
19761976 </div>
19771977 <div class="range-block" data-source="openai,cohere,mistralai,custom,claude,aimlapi,openrouter,groq,siliconflow,deepseek,makersuite,vertexai,ai21,xai,pollinations,moonshot,fireworks,cometapi,electronhub,chutes,azure_openai,zai,nanogpt">
19781978 <label for="openai_function_calling" class="checkbox_label flexWrap widthFreeExpand">
19791979 <input id="openai_function_calling" type="checkbox" />
19801980 <span data-i18n="Enable function calling">Enable function calling</span>
public/scripts/tool-calling.js+1 -0
@@ -661,6 +661,7 @@ export class ToolManager {
661661 chat_completion_sources.AZURE_OPENAI,
662662 chat_completion_sources.ZAI,
663663 chat_completion_sources.SILICONFLOW,
664+ chat_completion_sources.NANOGPT,
664665 ];
665666 return supportedSources.includes(settings.chat_completion_source);
666667 }