AutoTweaker API
Toggle table of contents
0.2.0-alpha.1+d0e71621
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AutoTweaker API
AutoTweaker API
/
io.github.autotweaker.api.adapter
/
Agent
/
removeInjection
remove
Injection
jvm
abstract
suspend
fun
removeInjection
(
id
:
UUID
)
:
Agent
(
source
)
从 agent 的上下文中移除一条标签注入。
如果请求移除一条不存在的标签,什么也不会发生。
请不要频繁使用此方法,这将导致模型 API 的硬盘缓存失效,并增加费用。
Throws
Agent
Dead
Exception