atlasbot: fix prompt formatting
This commit is contained in:
parent
dea70df209
commit
864f1cab20
@ -16,7 +16,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: atlasbot
|
app: atlasbot
|
||||||
annotations:
|
annotations:
|
||||||
checksum/atlasbot-configmap: manual-atlasbot-45
|
checksum/atlasbot-configmap: manual-atlasbot-46
|
||||||
vault.hashicorp.com/agent-inject: "true"
|
vault.hashicorp.com/agent-inject: "true"
|
||||||
vault.hashicorp.com/role: "comms"
|
vault.hashicorp.com/role: "comms"
|
||||||
vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret"
|
vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret"
|
||||||
|
|||||||
@ -2319,7 +2319,7 @@ def sync_loop(token: str, room_id: str):
|
|||||||
|
|
||||||
llm_prompt = cleaned_body
|
llm_prompt = cleaned_body
|
||||||
if cluster_query:
|
if cluster_query:
|
||||||
llm_prompt = f\"Atlas cluster question (use the cluster snapshot context): {cleaned_body}\"
|
llm_prompt = f"Atlas cluster question (use the cluster snapshot context): {cleaned_body}"
|
||||||
reply = ollama_reply_with_thinking(
|
reply = ollama_reply_with_thinking(
|
||||||
token,
|
token,
|
||||||
rid,
|
rid,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user