Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions kfinance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v5.1.3
- Bump fastmcp and langchain dependencies

## v5.1.2
- Update tools to more gracefully handle errors

Expand Down
4 changes: 2 additions & 2 deletions kfinance/client/kfinance.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from urllib.parse import urljoin
import webbrowser

import google.ai.generativelanguage_v1beta.types as gapic
from google.genai import types as gapic
from langchain_core.utils.function_calling import convert_to_openai_tool
from langchain_google_genai._function_utils import convert_to_genai_function_declarations
from PIL.Image import Image, open as image_open
Expand Down Expand Up @@ -1846,7 +1846,7 @@ def anthropic_tool_descriptions(self) -> list[dict[str, Any]]:
return anthropic_tool_descriptions

@property
def gemini_tool_descriptions(self) -> gapic.Tool:
def gemini_tool_descriptions(self) -> list[gapic.Tool]:
"""Return tool descriptions for gemini.

The conversion from BaseTool -> openai tool description -> google tool mirrors the
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ dependencies = [
"asyncer==0.0.14",
"cachetools>=6,<7",
"click>=8.2.1,<=9",
"fastmcp>=2.13.1,<2.14",
"langchain-core>=0.3.15",
"langchain-google-genai>=2.1.5,<3",
"fastmcp>=2.14.2,<2.15",
"langchain-core>=1.2.22,<2",
"langchain-google-genai>=4.2.1,<5",
"numpy>=1.22.4",
"pandas>=2.0.0",
"pillow>=10",
Expand All @@ -41,7 +41,7 @@ dependencies = [
dev = [
"coverage>=7.6.10,<8",
"ipykernel>=6.29,<7",
"langchain-anthropic>=0.3.10, <1",
"langchain-anthropic>=1.4.0,<2",
"mypy>=1.16.0,<2",
"nbconvert>=7.16,<8",
"nbformat>5.10,<6",
Expand Down
Loading