This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ai.koog.agents.core.agent.AIAgent | |
| import ai.koog.agents.core.agent.AIAgentFunctionalStrategy | |
| import ai.koog.agents.core.agent.functionalStrategy | |
| import ai.koog.agents.core.dsl.extension.requestLLM | |
| import ai.koog.prompt.executor.clients.google.GoogleModels | |
| import ai.koog.prompt.executor.llms.all.simpleGoogleAIExecutor | |
| import kotlinx.coroutines.delay | |
| import kotlinx.coroutines.flow.Flow | |
| import kotlinx.coroutines.flow.asFlow | |
| import kotlinx.coroutines.flow.map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.jeff.example.koog | |
| import ai.koog.agents.core.agent.AIAgent | |
| import ai.koog.agents.core.agent.AIAgentFunctionalStrategy | |
| import ai.koog.agents.core.agent.functionalStrategy | |
| import ai.koog.agents.core.dsl.extension.asAssistantMessage | |
| import ai.koog.prompt.dsl.Prompt | |
| import ai.koog.prompt.executor.clients.google.GoogleModels | |
| import ai.koog.prompt.executor.llms.all.simpleGoogleAIExecutor | |
| import kotlinx.coroutines.runBlocking |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from "react" | |
| import * as SliderPrimitive from "@radix-ui/react-slider" | |
| import { cn } from '@utils/twUtils.ts'; | |
| const Slider = React.forwardRef< | |
| React.ElementRef<typeof SliderPrimitive.Root>, | |
| React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> | |
| >(({ className, ...props }, ref) => { | |
| const guides = ["", "low", "med", "high", ""]; // Define your steps here |