1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-06 18:56:56 +00:00

feat: allow extends openai api

This commit is contained in:
lin onetwo 2025-03-01 01:26:00 +08:00
parent 9b20e4a798
commit 5dcb5f3c2d
2 changed files with 2 additions and 3 deletions

View File

@ -19,7 +19,7 @@ completionModel - Optional model to use
completionServer={{{ [<completionServer>!is[blank]else<ai-tools-default-llm-completion-server>] }}}
completionModel={{{ [<completionModel>!is[blank]else<ai-tools-default-llm-completion-model>] }}}
>
<$importvariables filter="[<completionServer>]">
<$importvariables filter="[<completionServer>get[extends]] [<completionServer>]">
<$wikify name="json" text=<<json-prompt>>>
<$action-log message="ai-tools-get-llm-completion"/>
<$action-log/>

View File

@ -4,5 +4,4 @@ url: https://api.siliconflow.cn/v1/chat/completions
caption: SiliconFlow
auth-token-store-key: siliconflow-secret-key
models: deepseek-ai/DeepSeek-V3 deepseek-ai/DeepSeek-R1
\import $:/plugins/tiddlywiki/ai-tools/servers/openai
extends: $:/plugins/tiddlywiki/ai-tools/servers/openai