Skip to content

Commit 0dac3a4

Browse files
Remove OpenAI prefix on filenames in C++ SDK
1 parent 020fa4d commit 0dac3a4

11 files changed

Lines changed: 14 additions & 14 deletions

sdk/cpp/include/foundry_local.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include "model.h"
1414
#include "catalog.h"
1515
#include "foundry_local_manager.h"
16-
#include "openai/openai_tool_types.h"
17-
#include "openai/openai_chat_client.h"
18-
#include "openai/openai_audio_client.h"
19-
#include "openai/openai_live_audio_types.h"
20-
#include "openai/openai_live_audio_session.h"
16+
#include "openai/tool_types.h"
17+
#include "openai/chat_client.h"
18+
#include "openai/audio_client.h"
19+
#include "openai/live_audio_types.h"
20+
#include "openai/live_audio_session.h"
File renamed without changes.

sdk/cpp/include/openai/openai_chat_client.h renamed to sdk/cpp/include/openai/chat_client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <gsl/pointers>
1414
#include <gsl/span>
1515

16-
#include "openai_tool_types.h"
16+
#include "tool_types.h"
1717

1818
namespace foundry_local::Internal {
1919
struct IFoundryLocalCore;
@@ -60,7 +60,7 @@ namespace foundry_local {
6060

6161
std::vector<ChatChoice> choices;
6262

63-
/// Returns the object type string. Derived from is_delta no allocation.
63+
/// Returns the object type string. Derived from is_delta no allocation.
6464
const char* GetObject() const noexcept { return is_delta ? "chat.completion.chunk" : "chat.completion"; }
6565

6666
/// Returns the created timestamp as an ISO 8601 string.

sdk/cpp/include/openai/openai_live_audio_session.h renamed to sdk/cpp/include/openai/live_audio_session.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include <gsl/pointers>
1616

17-
#include "openai_live_audio_types.h"
17+
#include "live_audio_types.h"
1818

1919
namespace foundry_local::Internal {
2020
struct IFoundryLocalCore;
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "core_helpers.h"
1717
#include "logger.h"
1818

19-
#include "openai/openai_live_audio_session.h"
19+
#include "openai/live_audio_session.h"
2020

2121
namespace foundry_local {
2222

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#include <nlohmann/json.hpp>
1212

13-
#include "openai/openai_live_audio_session.h"
14-
#include "openai/openai_live_audio_types.h"
13+
#include "openai/live_audio_session.h"
14+
#include "openai/live_audio_types.h"
1515
#include "foundry_local_internal_core.h"
1616
#include "foundry_local_exception.h"
1717
#include "core_interop_request.h"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include <nlohmann/json.hpp>
88

9-
#include "openai/openai_live_audio_types.h"
9+
#include "openai/live_audio_types.h"
1010

1111
namespace foundry_local {
1212

0 commit comments

Comments
 (0)