Commit graph

32 commits

Author SHA1 Message Date
sudipnext
d347786aaa feat: improve handling of Anthropic responses and add retry logic for content retrieval 2026-03-27 16:45:31 +05:45
sudipnext
34eed2413f feat: update version to 0.6.1-beta and ensure array schemas have items in JSON responses 2026-03-02 17:11:25 +05:45
sudipnext
2eff131f6b feat: enhance LLMClient with new Codex generation method and refactor tool handling
- Added a new method `_generate_codex` to LLMClient for generating responses using the Codex Responses API.
- Refactored tool handling to support structured tool calls and improved error handling during Codex interactions.
- Updated the client initialization for Codex to streamline the generation process.
- Enhanced message processing to accommodate new input formats and recursion for tool calls.
2026-02-27 18:38:52 +05:45
sudipnext
d2e3ab9d15 feat: add CodexLLMAdapter for structured LLM calls and integrate with LLMClient
- Introduced CodexLLMAdapter to handle structured and unstructured LLM calls via the Codex Responses API.
- Implemented methods for converting tool formats and building request bodies for Codex.
- Refactored LLMClient to utilize CodexLLMAdapter, enhancing tool call handling and response processing.
- Updated LLMToolCallsHandler to support Codex as a valid LLM provider.
- Enhanced schema utilities for better JSON schema handling.
2026-02-26 12:38:58 +05:45
sudipnext
5f5482cfd5 feat: enhance LLMClient with Codex integration and error handling
- Implemented a new method to create an AsyncOpenAI client specifically for Codex.
- Added functionality to convert Codex event responses into a dictionary format for easier consumption.
- Updated the streaming methods to utilize the new Codex client and handle API errors gracefully.
- Improved logging for debugging purposes during Codex interactions.
- Refactored message handling in the slide content generation function for clarity and efficiency.
2026-02-25 17:56:39 +05:45
sudipnext
d2e85a8ffa feat: implement Codex OAuth flow and integrate into application
- Added Codex authentication endpoints and logic for OAuth flow.
- Updated Docker configuration to expose port 1455 for Codex callback.
- Enhanced user configuration model to include Codex-related fields.
- Integrated Codex selection into the LLM provider UI.
- Implemented token management and refresh logic for Codex.
- Added utility functions for handling Codex OAuth tokens and state management.
2026-02-24 18:51:35 +05:45
sauravniraula
aa610d5c86
fix: adds checks for empty openai choices 2025-11-13 03:25:18 +05:45
sauravniraula
3c5ba63309
feat(fastapi): uses better json loader that parses dirty json 2025-09-12 01:28:59 +05:45
sauravniraula
762ac9e8b1
fix(fastapi): llm client issue where tool call arguments is None while streaming (openai) 2025-09-08 00:30:16 +05:45
sauravniraula
1299d37e59
fix(fastapi): improves llm client for structured output 2025-08-20 21:29:48 +05:45
sauravniraula
4156933c9b
fix(fastapi): adds missing parts check in unstructured google stream 2025-08-20 20:46:49 +05:45
sauravniraula
9ba0346935
fix(fastapi): adds checks for none parts for google structured, chore: removes fastmcp logs 2025-08-20 20:45:45 +05:45
sauravniraula
f518afc88b
fix(fastapi): adds check in llm client for available openai event choices 2025-08-14 12:08:55 +05:45
sauravniraula
65eff34078
fix: only add enable thinking false if disable thinking is set to true for custom models 2025-08-12 06:43:49 +05:45
sauravniraula
816a62a04a
fix(fastapi): solves malformed function call from google on ResponseSchema function call 2025-08-11 20:55:25 +05:45
sauravniraula
998e6be325
fix(llm_client): google structured stream and tool call issue 2025-08-11 16:33:59 +05:45
sauravniraula
3f523f1491
refactor: removes redis service and env variables, fix(fastapi): user config bool env variables issues, parse tool fix for custom llm on tool call structured output 2025-08-09 03:03:13 +05:45
sauravniraula
dc62eb72d1
feat(fastapi): adds anthropic web search, fix(fastapi): llm messages to system and user message 2025-08-09 01:36:16 +05:45
sauravniraula
5c106bd664
feat(fastapi): adds tool call support for anthropic stream and stream structured 2025-08-08 22:11:41 +05:45
sauravniraula
84fd0dee1a
feat(fastapi): adds tool calls support for anthropic generate 2025-08-08 09:06:05 +05:45
sauravniraula
49342e7c3c
feat(fastapi): adds tools support for openai and google generate and stream 2025-08-08 08:01:15 +05:45
sauravniraula
5030908974
feat(fastapi): generate and stream implementation for openai with agentic behavior 2025-08-08 02:49:51 +05:45
sauravniraula
a3e81da767
feat(fastapi): adding llm agent that supports tool calls and handling 2025-08-07 04:44:39 +05:45
sauravniraula
c840b8fce9
issue: outlines still flickering 2025-08-06 19:34:53 +05:45
sauravniraula
c599aa15e4
feat: adds options to select between tool calls/json schema and enable disable thinking for custom models 2025-08-04 14:50:55 +05:45
sauravniraula
4b6de697ec
feat: adds support for deepseek using custom llm (tool calls for deepseek) 2025-08-01 18:16:59 +05:45
sauravniraula
934a371ba3
fix(fastapi): fixes checks for custom llm api key 2025-08-01 15:11:49 +05:45
sauravniraula
e542fdf869
feat(fastapi): adds strict support for every schemas, proper models check, refactor 2025-08-01 00:15:03 +05:45
sauravniraula
bb6abf1890
feat(fastapi): converts schema to pydantic model for structured response, fix: changes icon and image schema for pydantic model support 2025-07-31 15:50:41 +05:45
sauravniraula
c63944b7cf
feat(fastapi): uses llm client wrapper to wrap all clients 2025-07-31 13:27:21 +05:45
sauravniraula
0c02eafeca
Merge branch 'main' 2025-07-31 12:32:34 +05:45
sauravniraula
2150742a54
feat(fastapi): adds a LLMClient wrapper for better control and error handling 2025-07-30 23:31:21 +05:45