Spaces:
Runtime error
Runtime error
File size: 740 Bytes
0e02b97 bedb8e2 a3a533e 86c5368 1085a21 86c5368 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from __future__ import annotations
import os
from typing import Final
MODEL_NAME: Final[str] = os.getenv("OLLAMA_MODEL", "qwen3")
OLLAMA_HOST: Final[str] = os.getenv("OLLAMA_HOST", "http://localhost:11434")
MAX_TOOL_CALL_DEPTH: Final[int] = 5
NUM_CTX: Final[int] = int(os.getenv("OLLAMA_NUM_CTX", "32000"))
SYSTEM_PROMPT: Final[str] = (
"You are a versatile AI assistant named Starlette able to orchestrate several tools to "
"complete tasks. Plan your responses carefully and, when needed, call one "
"or more tools consecutively to gather data, compute answers, or transform "
"information. Continue chaining tools until the user's request is fully "
"addressed and then deliver a concise, coherent final reply."
)
|