Fehler bei 200 wird geparst

This commit is contained in:
2026-02-20 13:27:51 +01:00
parent 3922357d54
commit 977decaf2e

View File

@@ -88,10 +88,16 @@ namespace AICore.Facade.LLM
prompt_eval_count = 22L,
prompt_eval_duration = 2132887L,
eval_count = 66L,
eval_duration = 1282438235L
eval_duration = 1282438235L,
error = ""
};
var response = _PostClientFacade.GetAnonymousTypeAsync("api/ollama/chat/completions", response_format, _ErrorExtractor).GetAwaiter().GetResult();
if(response.Data is object && response.Data.error is string err)
{
response.ErrorStrings.Add(err);
}
if(logger is object)
{