Introduce the first version of the /chat route that mimics the OpenAI API

This commit is contained in:
Clément Renault
2025-05-13 11:19:32 +02:00
parent bed442528f
commit 0efb72fe66
3 changed files with 35 additions and 2 deletions

View File

@ -389,6 +389,7 @@ impl Action {
EXPERIMENTAL_FEATURES_UPDATE => Some(Self::ExperimentalFeaturesUpdate),
NETWORK_GET => Some(Self::NetworkGet),
NETWORK_UPDATE => Some(Self::NetworkUpdate),
CHAT_GET => Some(Self::ChatGet),
_otherwise => None,
}
}