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:
parent
9b20e4a798
commit
5dcb5f3c2d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user