@owndev v2.2.2 infomaniak_ai_tools.py
Python · 534 lines135 class Valves(BaseModel):136 # API key for Infomaniak - automatically encrypted137 INFOMANIAK_API_KEY: EncryptedStr = Field(138 default=os.getenv("INFOMANIAK_API_KEY", "API_KEY"),139 description="API key for Infomaniak AI TOOLS API",140 json_schema_extra={"input": {"type": "password"}},141 )142 # Product ID for Infomaniak143 INFOMANIAK_PRODUCT_ID: int = Field(144 default=os.getenv("INFOMANIAK_PRODUCT_ID", 50070),145 description="Product ID for Infomaniak AI TOOLS API",146 ) Infomaniak AI Tools
A manifold pipeline for interacting with Infomaniak AI Tools. Support API Key encryption.
Features
- Manifold pipeline for Infomaniak AI Tools
- Lists available models for easy access
- Robust error handling and logging
- Handles streaming and non-streaming responses
- Streams complete SSE lines so every event and the final token usage reach Open WebUI
- Status updates while sending, streaming, on completion, on error and when stopped
- Encrypted storage of sensitive API keys
GitHub
Note
For questions, problems, and feature requests, an issue must be created on GitHub.
License
0
2 
