Hi! I am experimenting with some simple agentic mo...
# koog-agentic-framework
m
Hi! I am experimenting with some simple agentic model. It requires AI queries with short answers (e.g. "What is the intended subject of the user? Say unknown if you don't know."), some LLMs (e.g. gemini>1.5) allow to set a
maxTokens(Int)
via the native interface (e.g. com.google.genAI, but I assume that chatGPT allows for that too). Is there a way or a plan to add this feature to koog?
✅ 1
v
There’s
maxTokens
param in prompt:
Copy code
val initialPrompt = prompt("id", params = LLMParams(maxTokens = 100)) {
                system("You are a helpful assistant.")
                user("What is the capital of France?")
                assistant("Paris")
                user("What is the weather there?")
}
👀 1