Commit History

Refactor system message handling in create_simple_graph_with_history to utilize a template for dynamic content generation, improving clarity and maintainability. Update SYSTEM_PROMPT to SYSTEM_PROMPT_TEMPLATE for consistency in prompt management.
5a6a7e4

Cyril Dupland commited on

Refactor create_simple_graph_with_history to conditionally add SystemMessage only if not already present in conversation history, improving message management. Update agent_service.py to handle system messages in the message list.
9dc5e11

Cyril Dupland commited on

Update base_graph.py to format document output with XML-like tags and adjust retriever calls to specify a limit of 8 results for both formation and prestation types, improving document retrieval efficiency.
31b74c7

Cyril Dupland commited on

Implement streaming support validation in completion endpoint and enhance error handling for unsupported models. Update LLMService to include streaming capability check for models, specifically marking 'gpt-5' as non-streaming. Adjust API documentation for clarity on error responses.
72289eb

Cyril Dupland commited on

Fix streaming mode with old messages
29dbbb8

Cyril Dupland commited on

Update model references in enums and models to replace GPT-5 Mini with GPT-5 Chat, reflecting the latest model naming conventions and ensuring consistency across the LLMService.
9b3b804

Cyril Dupland commited on

Remove large PDF files and add .gitignore to respect HuggingFace Spaces 10MB limit
c11ba05

Cyril Dupland commited on

Refactor base_graph.py to support dual document types for retrieval and context formatting, enhancing the agent's ability to handle formation and prestation contexts separately.
b36f20e

Cyril Dupland commited on

Refactor LLMService to handle model-specific parameters for OpenAI's `gpt-5`, using `max_completion_tokens` instead of `max_tokens` and ensuring temperature is set to 1.0 when required.
795c4fd

Cyril Dupland commited on

Enhance LLMService to coerce temperature to 1.0 for OpenAI models that do not support custom values, specifically for `gpt-5` models, to prevent API errors.
cd5f60b

Cyril Dupland commited on

Add first retriever
cda0fc0

Cyril Dupland commited on

Enhance base_graph.py to include SystemMessage and integrate system prompt in LLM call for improved conversation context
8f0bd26

Cyril Dupland commited on

Add MistralService module for file upload, OCR, and chat completion functionality
7b9b8c6

Cyril Dupland commited on

Update requirements.txt to upgrade pydantic-settings, add langchain-community, and include new dependencies for Supabase and vecs
1e9aee7

Cyril Dupland commited on

Add dotenv support to load environment variables in app.py
247c14c

Cyril Dupland commited on

Update model references from GPT-5 Pro to GPT-5 across enums, models, and service files, and adjust agent registry to use the history-enabled graph creation function.
717a5de

Cyril Dupland commited on

fix streaming mode
f2e7dc1

Cyril Dupland commited on

Update LLMService to correct model descriptions for GPT-5 Pro and GPT-4
95de7be

Cyril Dupland commited on

Update requirements.txt to upgrade dependencies and add new packages
d3a5f2c

Cyril Dupland commited on

Update requirements.txt to comment out real-time dependencies for future implementation
0a28a53

Cyril Dupland commited on

Update README.md to include project metadata and configuration reference
3cd7bfc

Cyril Dupland commited on

FIrst Commit
d28f1ed

Cyril Dupland commited on

initial commit
0e6b670

cdupland commited on