Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(flo-ai):removing DocumentMessage and ImageMessage class
  • Loading branch information
jacobsanosh committed Nov 15, 2025
commit 7ce0c1114ed9319a0f6feb9a0ef7216bbf8adb19
10 changes: 7 additions & 3 deletions flo_ai/examples/chat_history.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import asyncio
from typing import Any
from flo_ai.builder.agent_builder import AgentBuilder
from flo_ai.llm import OpenAI
from flo_ai.llm import Gemini
from flo_ai.models.agent import Agent
from flo_ai.models import AssistantMessage, UserMessage, TextMessageContent
from flo_ai.models import (
AssistantMessage,
UserMessage,
TextMessageContent,
)
from flo_ai.tool import flo_tool


Expand All @@ -25,7 +29,7 @@ async def main() -> None:
AgentBuilder()
.with_name('Math Tutor')
.with_prompt('You are a helpful math tutor.')
.with_llm(OpenAI(model='gpt-4o-mini'))
.with_llm(Gemini(model='gemini-2.5-flash'))
.add_tool(calculate.tool)
.build()
)
Expand Down
Loading