Fehler bei 200 wird geparst
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user