mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-29 09:02:29 +00:00
feat: allow extends openai api
This commit is contained in:
@@ -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/>
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user