2f0a2cb089
- Changed Client::chat return type from ChatResponse to Message - Updated OllamaClient and DebugClient to extract message from response - Simplified Harness to work directly with Message - ChatResponse is still parsed internally for Usage info logging
14 lines
380 B
C++
14 lines
380 B
C++
#pragma once
|
|
#include "client.hpp"
|
|
#include <vector>
|
|
#include <string>
|
|
#include <expected>
|
|
|
|
class DebugClient : public Client {
|
|
public:
|
|
std::expected<Message, std::string> chat(const std::vector<Message>& messages,
|
|
const std::vector<Tool>& tools) const override;
|
|
|
|
std::expected<std::vector<std::string>, std::string> list_models() const override;
|
|
};
|