repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/hooks/__init__.py
libs/agno/agno/hooks/__init__.py
from agno.hooks.decorator import hook, should_run_in_background __all__ = ["hook", "should_run_in_background"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/hooks/decorator.py
libs/agno/agno/hooks/decorator.py
from functools import wraps from typing import Any, Callable, TypeVar, Union, overload # Type variable for better type hints F = TypeVar("F", bound=Callable[..., Any]) # Attribute name used to mark hooks for background execution HOOK_RUN_IN_BACKGROUND_ATTR = "_agno_run_in_background" def _is_async_function(func: Ca...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/compression/__init__.py
libs/agno/agno/compression/__init__.py
from agno.compression.manager import CompressionManager __all__ = ["CompressionManager"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/compression/manager.py
libs/agno/agno/compression/manager.py
import asyncio from dataclasses import dataclass, field from textwrap import dedent from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.models.base import Model from agno.models.message import Message from agno.models.utils import get_model from agno.utils.log import log...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/metrics.py
libs/agno/agno/models/metrics.py
from dataclasses import asdict, dataclass from typing import Any, Dict, Optional from agno.utils.timer import Timer @dataclass class Metrics: """All relevant metrics for a session, run or message.""" # Main token consumption values input_tokens: int = 0 output_tokens: int = 0 total_tokens: int =...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/defaults.py
libs/agno/agno/models/defaults.py
DEFAULT_OPENAI_MODEL_ID: str = "gpt-4o"
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/response.py
libs/agno/agno/models/response.py
from dataclasses import asdict, dataclass, field from enum import Enum from time import time from typing import Any, Dict, List, Optional from agno.media import Audio, File, Image, Video from agno.models.message import Citations from agno.models.metrics import Metrics from agno.tools.function import UserInputField c...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/message.py
libs/agno/agno/models/message.py
import json from time import time from typing import Any, Dict, List, Optional, Sequence, Union from uuid import uuid4 from pydantic import BaseModel, ConfigDict, Field from agno.media import Audio, File, Image, Video from agno.models.metrics import Metrics from agno.utils.log import log_debug, log_error, log_info, l...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/utils.py
libs/agno/agno/models/utils.py
from typing import Optional, Union from agno.models.base import Model def _get_model_class(model_id: str, model_provider: str) -> Model: if model_provider == "aimlapi": from agno.models.aimlapi import AIMLAPI return AIMLAPI(id=model_id) elif model_provider == "anthropic": from agno....
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/__init__.py
libs/agno/agno/models/__init__.py
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/base.py
libs/agno/agno/models/base.py
import asyncio import collections.abc import json from abc import ABC, abstractmethod from dataclasses import dataclass, field from hashlib import md5 from pathlib import Path from time import sleep, time from types import AsyncGeneratorType, GeneratorType from typing import ( TYPE_CHECKING, Any, AsyncItera...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/openai/chat.py
libs/agno/agno/models/openai/chat.py
from collections.abc import AsyncIterator from dataclasses import dataclass from os import getenv from typing import Any, Dict, Iterator, List, Literal, Optional, Type, Union from uuid import uuid4 import httpx from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError, ModelProviderError fro...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/openai/like.py
libs/agno/agno/models/openai/like.py
from dataclasses import dataclass from typing import Optional from agno.models.openai.chat import OpenAIChat @dataclass class OpenAILike(OpenAIChat): """ A class for to interact with any provider using the OpenAI API schema. Args: id (str): The id of the OpenAI model to use. Defaults to "not-pro...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/openai/__init__.py
libs/agno/agno/models/openai/__init__.py
from agno.models.openai.chat import OpenAIChat from agno.models.openai.like import OpenAILike from agno.models.openai.responses import OpenAIResponses __all__ = [ "OpenAIChat", "OpenAILike", "OpenAIResponses", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/openai/responses.py
libs/agno/agno/models/openai/responses.py
import time from dataclasses import dataclass, field from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Tuple, Type, Union import httpx from pydantic import BaseModel from typing_extensions import Literal from agno.exceptions import ModelAuthenticationError, ModelProviderError from agno.media impo...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/nvidia/nvidia.py
libs/agno/agno/models/nvidia/nvidia.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class Nvidia(OpenAILike): """ A class for interacting with Nvidia models. Attributes: id (...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/nvidia/__init__.py
libs/agno/agno/models/nvidia/__init__.py
from agno.models.nvidia.nvidia import Nvidia __all__ = [ "Nvidia", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cohere/chat.py
libs/agno/agno/models/cohere/chat.py
from dataclasses import dataclass from os import getenv from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Tuple, Type, Union import httpx from pydantic import BaseModel from agno.exceptions import ModelProviderError from agno.models.base import Model from agno.models.message import Message from a...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cohere/__init__.py
libs/agno/agno/models/cohere/__init__.py
from agno.models.cohere.chat import Cohere __all__ = [ "Cohere", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/lmstudio/lmstudio.py
libs/agno/agno/models/lmstudio/lmstudio.py
from dataclasses import dataclass from agno.models.openai.like import OpenAILike @dataclass class LMStudio(OpenAILike): """ A class for interacting with LM Studio. Attributes: id (str): The id of the LM Studio model. Default is "qwen2.5-7b-instruct-1m". name (str): The name of this chat ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/lmstudio/__init__.py
libs/agno/agno/models/lmstudio/__init__.py
from agno.models.lmstudio.lmstudio import LMStudio __all__ = [ "LMStudio", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/langdb/langdb.py
libs/agno/agno/models/langdb/langdb.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class LangDB(OpenAILike): """ A class for using models hosted on LangDB. Attributes: ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/langdb/__init__.py
libs/agno/agno/models/langdb/__init__.py
from agno.models.langdb.langdb import LangDB
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/huggingface/huggingface.py
libs/agno/agno/models/huggingface/huggingface.py
import json from collections.abc import AsyncIterator from dataclasses import asdict, dataclass from os import getenv from typing import Any, Dict, Iterator, List, Optional, Type, Union import httpx from huggingface_hub import ChatCompletionInputStreamOptions from pydantic import BaseModel from agno.exceptions import...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/huggingface/__init__.py
libs/agno/agno/models/huggingface/__init__.py
from agno.models.huggingface.huggingface import HuggingFace __all__ = [ "HuggingFace", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/openrouter/openrouter.py
libs/agno/agno/models/openrouter/openrouter.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike from agno.run.agent import RunOutput @dataclass class OpenRouter(OpenAI...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/openrouter/__init__.py
libs/agno/agno/models/openrouter/__init__.py
from agno.models.openrouter.openrouter import OpenRouter __all__ = [ "OpenRouter", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/siliconflow/siliconflow.py
libs/agno/agno/models/siliconflow/siliconflow.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class Siliconflow(OpenAILike): """ A class for interacting with Siliconflow API. Attributes: ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/siliconflow/__init__.py
libs/agno/agno/models/siliconflow/__init__.py
from agno.models.siliconflow.siliconflow import Siliconflow __all__ = [ "Siliconflow", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/aws/claude.py
libs/agno/agno/models/aws/claude.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union import httpx from pydantic import BaseModel from agno.models.anthropic import Claude as AnthropicClaude from agno.utils.http import get_default_async_client, get_default_sync_client from agno.utils.log im...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/aws/__init__.py
libs/agno/agno/models/aws/__init__.py
from agno.models.aws.bedrock import AwsBedrock try: from agno.models.aws.claude import Claude except ImportError: class Claude: # type: ignore def __init__(self, *args, **kwargs): raise ImportError("`anthropic` not installed. Please install using `pip install anthropic`") __all__ = [ ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/aws/bedrock.py
libs/agno/agno/models/aws/bedrock.py
import json from dataclasses import dataclass from os import getenv from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Tuple, Type, Union from pydantic import BaseModel from agno.exceptions import ModelProviderError from agno.models.base import Model from agno.models.message import Message from ag...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/vercel/v0.py
libs/agno/agno/models/vercel/v0.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class V0(OpenAILike): """ Class for interacting with the v0 API. Attributes: id (str): The...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/vercel/__init__.py
libs/agno/agno/models/vercel/__init__.py
from agno.models.vercel.v0 import V0 __all__ = ["V0"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/nebius/nebius.py
libs/agno/agno/models/nebius/nebius.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class Nebius(OpenAILike): """ A class for interacting with Nebius Token Factory models. Att...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/nebius/__init__.py
libs/agno/agno/models/nebius/__init__.py
from agno.models.nebius.nebius import Nebius __all__ = ["Nebius"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/portkey/__init__.py
libs/agno/agno/models/portkey/__init__.py
from agno.models.portkey.portkey import Portkey __all__ = ["Portkey"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/portkey/portkey.py
libs/agno/agno/models/portkey/portkey.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional, cast from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike try: from portkey_ai import PORTKEY_GATEWAY_URL, createHeaders except ImportError: raise ImportError("`portke...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/azure/ai_foundry.py
libs/agno/agno/models/azure/ai_foundry.py
from collections.abc import AsyncIterator from dataclasses import dataclass from os import getenv from typing import Any, Dict, Iterator, List, Optional, Type, Union import httpx from pydantic import BaseModel from agno.exceptions import ModelProviderError from agno.models.base import Model from agno.models.message i...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/azure/openai_chat.py
libs/agno/agno/models/azure/openai_chat.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional import httpx from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike from agno.utils.http import get_default_async_client, get_default_sync_client from agno.utils.log import log_w...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/azure/__init__.py
libs/agno/agno/models/azure/__init__.py
try: from agno.models.azure.ai_foundry import AzureAIFoundry except ImportError: class AzureAIFoundry: # type: ignore def __init__(self, *args, **kwargs): raise ImportError( "`azure-ai-inference` not installed. Please install it via `pip install azure-ai-inference aiohttp`"...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/sambanova/sambanova.py
libs/agno/agno/models/sambanova/sambanova.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class Sambanova(OpenAILike): """ A class for interacting with Sambanova API. Attributes: i...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/sambanova/__init__.py
libs/agno/agno/models/sambanova/__init__.py
from agno.models.sambanova.sambanova import Sambanova __all__ = [ "Sambanova", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/llama_cpp/__init__.py
libs/agno/agno/models/llama_cpp/__init__.py
from agno.models.llama_cpp.llama_cpp import LlamaCpp __all__ = [ "LlamaCpp", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/llama_cpp/llama_cpp.py
libs/agno/agno/models/llama_cpp/llama_cpp.py
from dataclasses import dataclass from agno.models.openai.like import OpenAILike @dataclass class LlamaCpp(OpenAILike): """ A class for interacting with LLMs using Llama CPP. Attributes: id (str): The id of the Llama CPP model. Default is "ggml-org/gpt-oss-20b-GGUF". name (str): The name...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/xai/xai.py
libs/agno/agno/models/xai/xai.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError from agno.models.message import Citations, UrlCitation from agno.models.openai.like import OpenAILike from agno.models.r...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/xai/__init__.py
libs/agno/agno/models/xai/__init__.py
from agno.models.xai.xai import xAI __all__ = ["xAI"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cometapi/__init__.py
libs/agno/agno/models/cometapi/__init__.py
from agno.models.cometapi.cometapi import CometAPI __all__ = [ "CometAPI", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cometapi/cometapi.py
libs/agno/agno/models/cometapi/cometapi.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, List, Optional import httpx from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike from agno.utils.log import log_debug @dataclass class CometAPI(OpenAILike): """ The Com...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/requesty/__init__.py
libs/agno/agno/models/requesty/__init__.py
from agno.models.requesty.requesty import Requesty __all__ = [ "Requesty", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/requesty/requesty.py
libs/agno/agno/models/requesty/requesty.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike from agno.run.agent import RunOutput from agno.run.team import TeamRunOut...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/ibm/watsonx.py
libs/agno/agno/models/ibm/watsonx.py
from dataclasses import dataclass from os import getenv from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelProviderError from agno.models.base import Model from agno.models.message import Message from agno.models.metrics i...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/ibm/__init__.py
libs/agno/agno/models/ibm/__init__.py
from agno.models.ibm.watsonx import WatsonX __all__ = [ "WatsonX", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/together/together.py
libs/agno/agno/models/together/together.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class Together(OpenAILike): """ A class for interacting with Together API. Attributes: id ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/together/__init__.py
libs/agno/agno/models/together/__init__.py
from agno.models.together.together import Together __all__ = [ "Together", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/groq/groq.py
libs/agno/agno/models/groq/groq.py
from collections.abc import AsyncIterator from dataclasses import dataclass from os import getenv from typing import Any, Dict, Iterator, List, Optional, Type, Union import httpx from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError, ModelProviderError from agno.models.base import Model ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/groq/__init__.py
libs/agno/agno/models/groq/__init__.py
from agno.models.groq.groq import Groq __all__ = [ "Groq", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/ollama/chat.py
libs/agno/agno/models/ollama/chat.py
import json from dataclasses import dataclass, field from os import getenv from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Type, Union from pydantic import BaseModel from agno.agent import RunOutput from agno.models.base import Model from agno.models.message import Message from agno.models.metr...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/ollama/__init__.py
libs/agno/agno/models/ollama/__init__.py
from agno.models.ollama.chat import Ollama __all__ = [ "Ollama", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/vllm/vllm.py
libs/agno/agno/models/vllm/vllm.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike from agno.utils.log import log_debug @dataclass class VLLM(OpenAILike):...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/vllm/__init__.py
libs/agno/agno/models/vllm/__init__.py
from agno.models.vllm.vllm import VLLM __all__ = ["VLLM"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/nexus/nexus.py
libs/agno/agno/models/nexus/nexus.py
from dataclasses import dataclass from agno.models.openai.like import OpenAILike @dataclass class Nexus(OpenAILike): """ A class for interacting with LLMs using Nexus. Attributes: id (str): The id of the Nexus model to use. Default is "openai/gpt-4". name (str): The name of this chat mod...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/nexus/__init__.py
libs/agno/agno/models/nexus/__init__.py
from agno.models.nexus.nexus import Nexus __all__ = ["Nexus"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/internlm/internlm.py
libs/agno/agno/models/internlm/internlm.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class InternLM(OpenAILike): """ Class for interacting with the InternLM API. Attributes: ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/internlm/__init__.py
libs/agno/agno/models/internlm/__init__.py
from agno.models.internlm.internlm import InternLM __all__ = ["InternLM"]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/mistral/__init__.py
libs/agno/agno/models/mistral/__init__.py
from agno.models.mistral.mistral import MistralChat __all__ = [ "MistralChat", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/mistral/mistral.py
libs/agno/agno/models/mistral/mistral.py
from dataclasses import dataclass from os import getenv from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelProviderError from agno.models.base import Model from agno.models.message import Message from agno.models.metrics i...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/anthropic/claude.py
libs/agno/agno/models/anthropic/claude.py
import json from collections.abc import AsyncIterator from dataclasses import asdict, dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union import httpx from pydantic import BaseModel, ValidationError from agno.exceptions import ModelProviderError, ModelRateLimitError from agno.mod...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/anthropic/__init__.py
libs/agno/agno/models/anthropic/__init__.py
from agno.models.anthropic.claude import Claude __all__ = [ "Claude", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/aimlapi/aimlapi.py
libs/agno/agno/models/aimlapi/aimlapi.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.message import Message from agno.models.openai.like import OpenAILike @dataclass class AIMLAPI(OpenAILike): """ A class for using models ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/aimlapi/__init__.py
libs/agno/agno/models/aimlapi/__init__.py
from agno.models.aimlapi.aimlapi import AIMLAPI __all__ = [ "AIMLAPI", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cerebras/cerebras.py
libs/agno/agno/models/cerebras/cerebras.py
import json from collections.abc import AsyncIterator from dataclasses import dataclass from os import getenv from typing import Any, Dict, Iterator, List, Optional, Type, Union import httpx from pydantic import BaseModel from agno.models.base import Model from agno.models.message import Message from agno.models.metr...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cerebras/__init__.py
libs/agno/agno/models/cerebras/__init__.py
from agno.models.cerebras.cerebras import Cerebras try: from agno.models.cerebras.cerebras_openai import CerebrasOpenAI except ImportError: class CerebrasOpenAI: # type: ignore def __init__(self, *args, **kwargs): raise ImportError("`openai` not installed. Please install it via `pip insta...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/cerebras/cerebras_openai.py
libs/agno/agno/models/cerebras/cerebras_openai.py
import json from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError from agno.models.message import Message from agno.models.openai.like import OpenAILike from agno.util...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/google/utils.py
libs/agno/agno/models/google/utils.py
from enum import Enum class GeminiFinishReason(Enum): """Gemini API finish reasons""" STOP = "STOP" MAX_TOKENS = "MAX_TOKENS" SAFETY = "SAFETY" RECITATION = "RECITATION" MALFORMED_FUNCTION_CALL = "MALFORMED_FUNCTION_CALL" OTHER = "OTHER" # Guidance message used to retry a Gemini invocat...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/google/__init__.py
libs/agno/agno/models/google/__init__.py
from agno.models.google.gemini import Gemini __all__ = [ "Gemini", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/google/gemini.py
libs/agno/agno/models/google/gemini.py
import asyncio import base64 import json import time from collections.abc import AsyncIterator from dataclasses import dataclass from os import getenv from pathlib import Path from typing import Any, Dict, Iterator, List, Optional, Type, Union from uuid import uuid4 from pydantic import BaseModel from agno.exceptions...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/vertexai/claude.py
libs/agno/agno/models/vertexai/claude.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union import httpx from pydantic import BaseModel from agno.models.anthropic import Claude as AnthropicClaude from agno.utils.http import get_default_async_client, get_default_sync_client from agno.utils.log im...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/vertexai/__init__.py
libs/agno/agno/models/vertexai/__init__.py
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/perplexity/__init__.py
libs/agno/agno/models/perplexity/__init__.py
from agno.models.perplexity.perplexity import Perplexity __all__ = [ "Perplexity", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/perplexity/perplexity.py
libs/agno/agno/models/perplexity/perplexity.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError, ModelProviderError from agno.models.message import Citations, UrlCitation from agno.models.metrics import Metrics from...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/deepseek/deepseek.py
libs/agno/agno/models/deepseek/deepseek.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.message import Message from agno.models.openai.like import OpenAILike from agno.utils.log import log_warning from agno.utils.openai import _format_...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/deepseek/__init__.py
libs/agno/agno/models/deepseek/__init__.py
from agno.models.deepseek.deepseek import DeepSeek __all__ = [ "DeepSeek", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/deepinfra/deepinfra.py
libs/agno/agno/models/deepinfra/deepinfra.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class DeepInfra(OpenAILike): """ A class for interacting with DeepInfra models. Attributes:...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/deepinfra/__init__.py
libs/agno/agno/models/deepinfra/__init__.py
from agno.models.deepinfra.deepinfra import DeepInfra __all__ = [ "DeepInfra", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/litellm/chat.py
libs/agno/agno/models/litellm/chat.py
import json from dataclasses import dataclass from os import getenv from typing import Any, AsyncIterator, Dict, Iterator, List, Optional, Type, Union from pydantic import BaseModel from agno.models.base import Model from agno.models.message import Message from agno.models.metrics import Metrics from agno.models.resp...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/litellm/__init__.py
libs/agno/agno/models/litellm/__init__.py
from agno.models.litellm.chat import LiteLLM try: from agno.models.litellm.litellm_openai import LiteLLMOpenAI except ImportError: class LiteLLMOpenAI: # type: ignore def __init__(self, *args, **kwargs): raise ImportError("`openai` not installed. Please install using `pip install openai`"...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/litellm/litellm_openai.py
libs/agno/agno/models/litellm/litellm_openai.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class LiteLLMOpenAI(OpenAILike): """ A class for interacting with LiteLLM. Attributes: ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/dashscope/dashscope.py
libs/agno/agno/models/dashscope/dashscope.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, List, Optional, Type, Union from pydantic import BaseModel from agno.exceptions import ModelAuthenticationError from agno.models.openai.like import OpenAILike @dataclass class DashScope(OpenAILike): """ A class for interac...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/dashscope/__init__.py
libs/agno/agno/models/dashscope/__init__.py
from agno.models.dashscope.dashscope import DashScope __all__ = [ "DashScope", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/meta/llama.py
libs/agno/agno/models/meta/llama.py
from collections.abc import AsyncIterator from dataclasses import dataclass from os import getenv from typing import Any, Dict, Iterator, List, Optional, Type, Union import httpx from pydantic import BaseModel from agno.exceptions import ModelProviderError from agno.models.base import Model from agno.models.message i...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/meta/llama_openai.py
libs/agno/agno/models/meta/llama_openai.py
from dataclasses import dataclass from os import getenv from typing import Any, Dict, Optional try: from openai import AsyncOpenAI as AsyncOpenAIClient except ImportError: raise ImportError("`openai` not installed. Please install using `pip install openai`") from agno.exceptions import ModelAuthenticationErro...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/meta/__init__.py
libs/agno/agno/models/meta/__init__.py
from agno.models.meta.llama import Llama try: from agno.models.meta.llama_openai import LlamaOpenAI except ImportError: class LlamaOpenAI: # type: ignore def __init__(self, *args, **kwargs): raise ImportError("`openai` not installed. Please install it via `pip install openai`") __all__ ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/fireworks/fireworks.py
libs/agno/agno/models/fireworks/fireworks.py
from dataclasses import dataclass, field from os import getenv from typing import Any, Dict, Optional from agno.exceptions import ModelAuthenticationError from agno.models.openai import OpenAILike @dataclass class Fireworks(OpenAILike): """ A class for interacting with models hosted on Fireworks. Attrib...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/models/fireworks/__init__.py
libs/agno/agno/models/fireworks/__init__.py
from agno.models.fireworks.fireworks import Fireworks __all__ = [ "Fireworks", ]
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/memory/__init__.py
libs/agno/agno/memory/__init__.py
from agno.memory.manager import MemoryManager, UserMemory from agno.memory.strategies import ( MemoryOptimizationStrategy, MemoryOptimizationStrategyFactory, MemoryOptimizationStrategyType, SummarizeStrategy, ) __all__ = [ "MemoryManager", "UserMemory", "MemoryOptimizationStrategy", "Me...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/memory/manager.py
libs/agno/agno/memory/manager.py
from copy import deepcopy from dataclasses import dataclass from os import getenv from textwrap import dedent from typing import Any, Callable, Dict, List, Literal, Optional, Type, Union from pydantic import BaseModel, Field from agno.db.base import AsyncBaseDb, BaseDb from agno.db.schemas import UserMemory from agno...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
true
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/memory/strategies/summarize.py
libs/agno/agno/memory/strategies/summarize.py
"""Summarize strategy: Combine all memories into single comprehensive summary.""" from textwrap import dedent from typing import List from uuid import uuid4 from agno.db.schemas import UserMemory from agno.memory.strategies import MemoryOptimizationStrategy from agno.models.base import Model from agno.models.message ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/memory/strategies/__init__.py
libs/agno/agno/memory/strategies/__init__.py
"""Memory optimization strategy implementations.""" from agno.memory.strategies.base import MemoryOptimizationStrategy from agno.memory.strategies.summarize import SummarizeStrategy from agno.memory.strategies.types import ( MemoryOptimizationStrategyFactory, MemoryOptimizationStrategyType, ) __all__ = [ ...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false
agno-agi/agno
https://github.com/agno-agi/agno/blob/26b9daa0fb760c3ad8384e1ba9218b1bce854535/libs/agno/agno/memory/strategies/types.py
libs/agno/agno/memory/strategies/types.py
"""Memory optimization strategy types and factory.""" from enum import Enum from agno.memory.strategies import MemoryOptimizationStrategy class MemoryOptimizationStrategyType(str, Enum): """Enumeration of available memory optimization strategies.""" SUMMARIZE = "summarize" class MemoryOptimizationStrateg...
python
Apache-2.0
26b9daa0fb760c3ad8384e1ba9218b1bce854535
2026-01-04T14:41:49.609528Z
false